created directory `/usr/local/ssl/bin’ created directory `/usr/local/ssl/lib’ created directory `/usr/local/ssl/lib/engines’ created directory `/usr/local/ssl/lib/pkgconfig’ created directory `/usr/local/ssl/include’ created directory `/usr/local/ssl/include/openssl’ created directory `/usr/local/ssl/misc’ created directory `/usr/local/ssl/certs’ created directory `/usr/local/ssl/private’
[ERROR] Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.6.4:protoc (compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: ‘protoc –version’ did not return a version -> [Help 1]
Google Test not present. Fetching gtest-1.5.0 from the web… curl: (7) Failed to connect to 2404:6800:4008:c01::52: Network is unreachable bzip2: Compressed file ends unexpectedly; perhaps it is corrupted? *Possible* reason follows. bzip2: Invalid argument Input file = (stdin), output file = (stdout) It is possible that the compressed file(s) have become corrupted. You can use the -tvv option to test integrity of such files. You can use the `bzip2recover’ program to attempt to recover data from undamaged sections of corrupted files. tar: Child returned status 2 tar: Error is not recoverable: exiting now
打开脚本文件看看是怎么回事。
1 2 3 4 5
if test ! -e gtest; then echo "Google Test not present. Fetching gtest-1.5.0 from the web..." curl http://googletest.googlecode.com/files/gtest-1.5.0.tar.bz2 | tar jx mv gtest-1.5.0 gtest fi
[ERROR] Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.6.4:protoc (compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: protoc version is ‘libprotoc 2.6.1’, expected version is ‘2.5.0’ -> [Help 1]
[ERROR] /home/bigdata/hadoop-2.6.4-src/hadoop-common-project/hadoop-nfs/src/main/java/org/apache/hadoop/nfs/nfs3/Nfs3Interface.java:42: warning: no @return [ERROR] public NFS3Response access(XDR xdr, RpcInfo info); [ERROR] ^ [ERROR] /home/bigdata/hadoop-2.6.4-src/hadoop-common-project/hadoop-nfs/src/main/java/org/apache/hadoop/nfs/nfs3/Nfs3Interface.java:45: warning: no @param for xdr [ERROR] public NFS3Response readlink(XDR xdr, RpcInfo info); [ERROR] ^ [ERROR] [ERROR] Command line was: /usr/local/jdk1.8.0_101/jre/../bin/javadoc @options @packages [ERROR] [ERROR] Refer to the generated Javadoc files in ‘/home/bigdata/hadoop-2.6.4-src/hadoop-common-project/hadoop-nfs/target’ dir. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [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 read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :hadoop-nfs