hadoop安装时报错 /usr/local/hadoop-2.6.0-stable/hadoop-2.6.0-src/hadoop-hdfs-project/hadoop-hdfs/target/f
Posted 巫谢
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了hadoop安装时报错 /usr/local/hadoop-2.6.0-stable/hadoop-2.6.0-src/hadoop-hdfs-project/hadoop-hdfs/target/f相关的知识,希望对你有一定的参考价值。
安装时报错:Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (site) on project hadoop-hdfs: An Ant BuildException has occured: input file /usr/local/hadoop-2.6.0-stable/hadoop-2.6.0-src/hadoop-hdfs-project/hadoop-hdfs/target/findbugsXml.xml does not exist
原因错误已经写得很清楚了。
解决办法:去掉docs,执行:mvn package -Pdist,native -DskipTests -Dtar <rf> :hadoop-hdfs
以上是关于hadoop安装时报错 /usr/local/hadoop-2.6.0-stable/hadoop-2.6.0-src/hadoop-hdfs-project/hadoop-hdfs/target/f的主要内容,如果未能解决你的问题,请参考以下文章