【Hadoop三】Centos7_x86_64部署Hadoop集群之编译Hadoop源代码
编程技术  /  houtizong 发布于 3年前   136
http://sourceforge.jp/projects/sfnet_findbugs/downloads/findbugs/3.0.0/findbugs-3.0.0.tar.gz/tar xzvf findbugs-3.0.0export FINDBUGS_HOME=/home/hadoop/software/findbugs-3.0.0export PATH=$FINDBUGS_HOME/bin:$PATH
第一次构件时没有安装FireBugs,结果报如下错误
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (site) on project hadoop-common: An Ant BuildException has occured: stylesheet /home/grid/hadoop-2.4.1/release-2.4.1/hadoop-common-project/hadoop-common/${env.FINDBUGS_HOME}/src/xsl/default.xsl doesn't exist.[ERROR] around Ant part ...<xslt style="${env.FINDBUGS_HOME}/src/xsl/default.xsl" in="/home/grid/hadoop-2.4.1/release-2.4.1/hadoop-common-project/hadoop-common/target/findbugsXml.xml" out="/home/grid/hadoop-2.4.1/release-2.4.1/hadoop-common-project/hadoop-common/target/site/findbugs.html"/>... @ 44:267 in /home/grid/hadoop-2.4.1/release-2.4.1/hadoop-common-project/hadoop-common/target/antrun/build-main.xml[ERROR] -> [Help 1]
export M2_HOME=/home/hadoop/software/apache-maven-3.2.3export PATH=$M2_HOME/bin:$PATH
export ANT_HOME=/home/hadoop/software/apache-ant-1.9.4export PATH=$ANT_HOME/bin:$PATH
export JAVA_HOME=/home/hadoop/software/jdk1.7.0_67export PATH=$JAVA_HOME/bin:$PATH
tar zxvf protobuf-2.5.0.tar.gz cd protobuf-2.5.0 ./configure --prefix=/usr/local make make install
tar zxvf hadoop-2.5.2-src.tar.gz cd hadoop-2.5.2-src mvn package -Pdist,native,docs -DskipTests -Dtar
请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!
技术博客集 - 网站简介:
前后端技术:
后端基于Hyperf2.1框架开发,前端使用Bootstrap可视化布局系统生成
网站主要作用:
1.编程技术分享及讨论交流,内置聊天系统;
2.测试交流框架问题,比如:Hyperf、Laravel、TP、beego;
3.本站数据是基于大数据采集等爬虫技术为基础助力分享知识,如有侵权请发邮件到站长邮箱,站长会尽快处理;
4.站长邮箱:[email protected];
文章归档
文章标签
友情链接