编译hadoop的时候出现如下错误
[ERROR] Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.9.2:cmake-compile (cmake-compile) on project hadoop-pipes: CMake failed with error code 1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn
该问题需要我们安装 openssl-devel
可以在这里进行下载
https://centos.pkgs.org/7/centos-x86_64/openssl-devel-1.0.2k-16.el7.x86_64.rpm.html
下载后,安装之前请先执行如下命令,安装依赖包
sudo yum install krb5-devel
再执行
sudo rpm -ih openssl-devel-1.0.2k-16.el7.x86_64.rpm
爆款云服务器s6 2核4G 低至0.46/天,具体规则查看活动详情