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的主要内容,如果未能解决你的问题,请参考以下文章

hadoop用put上传文件时报错

关于本地向虚拟机上的Hadoop上传文件时报错解决方案

使用root配置的hadoop启动时报错

1. hadoop使用启动命令时报错之分析解决

Hadoop格式化时报错,已解决!

Hadoop集群执行MapReduce时报错: