2015-01-09 82 views
0

我想设置Hadoop环境。我遵循本网站的教程:https://svn.apache.org/viewvc/hadoop/common/branches/branch-2/BUILDING.txt?view=markup无法在Windows中安装Hadoop安装环境

我已经设法设置jdk,maven,protocolbuffer。 然后我运行命令mvn包[-Pdist] [ - Pdocs] [ - Psrc] [ - Dtar] 但是失败,并得到了下面的错误。我不明白这一点。有什么问题?以及如何解决它?

[INFO] BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 29.110 s 
[INFO] Finished at: 2015-01-09T20:12:17+08:00 
[INFO] Final Memory: 41M/168M 
[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8 
.1:jar (module-javadocs) on project hadoop-annotations: MavenReportException: Er 
ror while creating archive: 
[ERROR] Exit code: 1 - C:\hdfs\hadoop-common-project\hadoop-annotations\src\main 
\java\org\apache\hadoop\classification\InterfaceStability.java:27: error: unexpe 
cted end tag: </ul> 
[ERROR] * </ul> 
[ERROR]^
[ERROR] 
[ERROR] Command line was: "C:\Program Files\Java\jdk1.8.0_11\jre\..\bin\javadoc. 
exe" @options @packages 
[ERROR] 
[ERROR] Refer to the generated Javadoc files in 'C:\hdfs\hadoop-common-project\h 
adoop-annotations\target' dir. 
[ERROR] -> [Help 1] 
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit 
ch. 
[ERROR] Re-run Maven using the -X switch to enable full debug logging. 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please rea 
d the following articles: 
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE 
xception 
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command 

[ERROR] mvn <goals> -rf :hadoop-annotations 
C:\hdfs> 

回答

0

在全局属性部分添加一行-Xdoclint:none。