[
https://issues.apache.org/jira/browse/HADOOP-10795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14060988#comment-14060988
]
Colin Patrick McCabe commented on HADOOP-10795:
-----------------------------------------------
Moses, you need to look at the ERROR output. The WARNING output is not the
issue here.
In this case, there is one error:
{code}
testROBufferDirAndRWBufferDir[1](org.apache.hadoop.fs.TestLocalDirAllocator)
Time elapsed: 0.014 sec <<< FAILURE!
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on
project hadoop-common: There are test failures.
[ERROR]
{code}
So {{TestLocalDirAllocator}} is failing.
I think you'll find that if you run with {{mvn package -DskipTests}} (skipping
tests), you will not get this error. Without knowing more about that test, I
can't say why it might be failing for you.
> unale to build hadoop 2.4.1(redhat5.8 x64)
> ------------------------------------------
>
> Key: HADOOP-10795
> URL: https://issues.apache.org/jira/browse/HADOOP-10795
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Environment: OS version rehat 5.8 x64
> maven version 3.3.1
> java version jdk 1.7_15 for x64
> Reporter: moses.wang
>
> unale to build hadoop 2.4.1(redhat5.8 x64)
> WARNING] Some problems were encountered while building the effective model
> for org.apache.hadoop:hadoop-project:pom:2.4.1
> [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but
> found duplicate declaration of plugin
> org.apache.maven.plugins:maven-enforcer-plugin @ line 1015, column 15
> [WARNING] Some problems were encountered while building the effective model
> for org.apache.hadoop:hadoop-common:jar:2.4.1
> [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but
> found duplicate declaration of plugin
> org.apache.maven.plugins:maven-surefire-plugin @ line 479, column 15
> [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but
> found duplicate declaration of plugin
> org.apache.maven.plugins:maven-enforcer-plugin @
> org.apache.hadoop:hadoop-project:2.4.1,
> /home/software/Server/hadoop-2.4.1-src/hadoop-project/pom.xml, line 1015,
> column 15
> WARNING]
> /home/software/Server/hadoop-2.4.1-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/FastByteComparisons.java:[25,15]
> Unsafe is internal proprietary API and may be removed in a future release
> [WARNING]
> /home/software/Server/hadoop-2.4.1-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/nativeio/NativeIO.java:[42,15]
> Unsafe is internal proprietary API and may be removed in a future release
> [WARNING]
> /home/software/Server/hadoop-2.4.1-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/SignalLogger.java:[21,15]
> Signal is internal proprietary API and may be removed in a future release
> [WARNING]
> /home/software/Server/hadoop-2.4.1-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/SignalLogger.java:[22,15]
> SignalHandler is internal proprietary API and may be removed in a future
> release
> [WARNING]
> /home/software/Server/hadoop-2.4.1-src/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/ssl/KeyStoreTestUtil.java:[22,24]
> AlgorithmId is internal proprietary API and may be removed in a future
> release
> [WARNING]
> /home/software/Server/hadoop-2.4.1-src/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/ssl/KeyStoreTestUtil.java:[23,24]
> CertificateAlgorithmId is internal proprietary API and may be removed in a
> future release
> testROBufferDirAndRWBufferDir[1](org.apache.hadoop.fs.TestLocalDirAllocator)
> Time elapsed: 0.014 sec <<< FAILURE!
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on
> project hadoop-common: There are test failures.
> [ERROR]
--
This message was sent by Atlassian JIRA
(v6.2#6252)