开发者社区> 问答> 正文

mac上编译hadoop2.7.2源码时总是报错?报错

Mac: 10.11.2 (64-bit); 

Java: java version "1.8.0_60"; 

protoc —version: libprotoc 2.5.0 ; 

maven3.3.9

Command: mvn package -Pdist,native -DskipTests -Dtar -X

错误信息:

[INFO] Apache Hadoop MapReduce Examples ................... SUCCESS [  2.565 s]

[INFO] hadoop-mapreduce ................................... SUCCESS [  2.230 s]

[INFO] Apache Hadoop MapReduce Streaming .................. SUCCESS [  2.199 s]

[INFO] Apache Hadoop Distributed Copy ..................... SUCCESS [  4.951 s]

[INFO] Apache Hadoop Archives ............................. SUCCESS [  1.168 s]

[INFO] Apache Hadoop Rumen ................................ SUCCESS [  3.008 s]

[INFO] Apache Hadoop Gridmix .............................. SUCCESS [  1.990 s]

[INFO] Apache Hadoop Data Join ............................ SUCCESS [  1.228 s]

[INFO] Apache Hadoop Ant Tasks ............................ SUCCESS [  1.143 s]

[INFO] Apache Hadoop Extras ............................... SUCCESS [  1.574 s]

[INFO] Apache Hadoop Pipes ................................ FAILURE [  0.627 s]

[INFO] Apache Hadoop OpenStack support .................... SKIPPED

[INFO] Apache Hadoop Amazon Web Services support .......... SKIPPED

[INFO] Apache Hadoop Azure support ........................ SKIPPED

[INFO] Apache Hadoop Client ............................... SKIPPED

[INFO] Apache Hadoop Mini-Cluster ......................... SKIPPED

[INFO] Apache Hadoop Scheduler Load Simulator ............. SKIPPED

[INFO] Apache Hadoop Tools Dist ........................... SKIPPED

[INFO] Apache Hadoop Tools ................................ SKIPPED

[INFO] Apache Hadoop Distribution ......................... SKIPPED

[INFO] --------------------------------------------------------------  ----------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 05:05 min

[INFO] Finished at: 2016-04-24T11:10:13+08:00

[INFO] Final Memory: 154M/1709M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-

 plugin:1.7:run (make) on project hadoop-pipes: An Ant BuildException

has occured: exec returned: 1

[ERROR] around Ant part ...<exec failonerror="true"

dir="/Users/wanwenqing/Hadoop/hadoop-2.7.2-src/hadoop-tools/hadoop-

pipes/target/native" executable="cmake">... @ 5:135 in 

/Users/wanwenqing/Hadoop/hadoop-2.7.2-src/hadoop-tools/hadoop-  

pipes/target/antrun/build-main.xml


展开
收起
爱吃鱼的程序员 2020-06-09 15:34:12 739 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    Hadoop架构设计与源码分析视频教程第一季
    课程观看地址:<atarget="_blank"rel="nofollow">http://www.xuetuwuyou.com/course/88
    课程出自学途无忧网:<atarget="_blank"rel="nofollow">http://www.xuetuwuyou.com


    2020-06-09 15:34:29
    赞同 1 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
《构建Hadoop生态批流一体的实时数仓》 立即下载
零基础实现hadoop 迁移 MaxCompute 之 数据 立即下载
CIO 指南:如何在SAP软件架构中使用Hadoop 立即下载

相关实验场景

更多