频道栏目
IT货架 > > 正文
hadoop源码编译
网友分享于:Jan 1, 1970 8:00:00 AM    来源: IT货架   
hadoop 源码编译 以前写过一篇《yarn hadoop mapreduce 2.0 编译》,环境准备和那一篇一样。 本篇直接从svn下载最新源码,进行编译。 下载源码: 从subversion库check out: [zhouhh@Hadoop48 hsrc]$ svn co http://svn.apache.org/repos/asf/hadoop/common/trunk [zhouhh@Hadoop48 hsrc]$ cd trunk/ [zhouhh@Hadoop48 trunk]$ ls BUILDING.txt hadoop-assemblies hadoop-common-project hadoop-hdfs-project hadoop-minicluster hadoop-project-dist hadoop-yarn-project dev-support hadoop-client hadoop-dist hadoop-mapreduce-project hadoop-project hadoop-tools pom.xml Maven 主要模块: hadoop (Main Hadoop project) – hadoop-project (Parent POM for all Hadoop Maven modules. ) (All plugins & dependencies versions are defined here.) – hadoop-project-dist (Parent POM for modules that generate distributions.) – hadoop-annotations (Generates the Hadoop doclet used to generated the Javadocs) – hadoop-assemblies (Maven assemblies used by the different modules) – hadoop-common-project (Hadoop Common) – hadoop-hdfs-project (Hadoop HDFS) – hadoop-mapreduce-project (Hadoop MapReduce) – hadoop-tools (Hadoop tools like Streaming, Distcp, etc.) – hadoop-dist (Hadoop distribution assembler) 编译: [zhouhh@Hadoop48 trunk]$ mvn compile -DskipTest … [INFO] Reactor Summary: [INFO] [INFO] Apache Hadoop Main ………………………….. SUCCESS [0.605s] [INFO] Apache Hadoop Project POM ……………………. SUCCESS [0.558s] [INFO] Apache Hadoop Annotations ……………………. SUCCESS [0.288s] [INFO] Apache Hadoop Project Dist POM ……………….. SUCCESS [0.094s] [INFO] Apache Hadoop Assemblies …………………….. SUCCESS [0.088s] [INFO] Apache Hadoop Auth ………………………….. SUCCESS [0.152s] [INFO] Apache Hadoop Auth Examples ………………….. SUCCESS [0.093s] [INFO] Apache Hadoop Common ………………………… SUCCESS [5.188s] [INFO] Apache Hadoop Common Project …………………. SUCCESS [0.049s] [INFO] Apache Hadoop HDFS ………………………….. SUCCESS [12.065s] [INFO] Apache Hadoop HttpFS ………………………… SUCCESS [0.194s] [INFO] Apache Hadoop HDFS BookKeeper Journal …………. SUCCESS [0.616s] [INFO] Apache Hadoop HDFS Project …………………… SUCCESS [0.029s] [INFO] hadoop-yarn ………………………………… SUCCESS [0.157s] [INFO] hadoop-yarn-api …………………………….. SUCCESS [2.951s] [INFO] hadoop-yarn-common ………………………….. SUCCESS [0.752s] [INFO] hadoop-yarn-server ………………………….. SUCCESS [0.124s] [INFO] hadoop-yarn-server-common ……………………. SUCCESS [0.736s] [INFO] hadoop-yarn-server-nodemanager ……………….. SUCCESS [0.592s] [INFO] hadoop-yarn-server-web-proxy …………………. SUCCESS [0.123s] [INFO] hadoop-yarn-server-resourcemanager ……………. SUCCESS [0.200s] [INFO] hadoop-yarn-server-tests …………………….. SUCCESS [0.149s] [INFO] hadoop-yarn-client ………………………….. SUCCESS [0.119s] [INFO] hadoop-yarn-applications …………………….. SUCCESS [0.090s] [INFO] hadoop-yarn-applications-distributedshell ……… SUCCESS [0.167s] [INFO] hadoop-mapreduce-client ……………………… SUCCESS [0.049s] [INFO] hadoop-mapreduce-client-core …………………. SUCCESS [1.103s] [INFO] hadoop-yarn-applications-unmanaged-am-launcher …. SUCCESS [0.142s] [INFO] hadoop-yarn-site ……………………………. SUCCESS [0.082s] [INFO] hadoop-yarn-project …………………………. SUCCESS [0.075s]
相关板块推荐

广告服务联系QQ:1134687142 | 网站地图

版权所有: IT货架- 内容来自互联网,仅供用于技术学习,请遵循相关法律法规. 京ICP备11030978号-1