编译 Hadoop mvn -rf :hadoop-pipes

编译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


如果您觉得本文章对您有用,也为了更好的运营博客,您可以点击这里捐助

评论 抢沙发

昵称 (必填) 邮箱 (必填)
表情