[
https://issues.apache.org/jira/browse/HAMA-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16306670#comment-16306670
]
Hudson commented on HAMA-1002:
------------------------------
SUCCESS: Integrated in Jenkins build Hama-Nightly-for-Hadoop-1.x #1734 (See
[https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/1734/])
HAMA-1002: Add junit dependency to commons to compile with Hadoop 2.8+ (ywkim:
rev fe57a39cc5a576d11d9137fbae156a79d4d7a8a1)
* (edit) commons/pom.xml
> Add junit dependency to commons to compile with Hadoop 2.8+
> -----------------------------------------------------------
>
> Key: HAMA-1002
> URL: https://issues.apache.org/jira/browse/HAMA-1002
> Project: Hama
> Issue Type: Bug
> Components: build
> Affects Versions: 0.7.1
> Reporter: YoungWoo Kim
> Fix For: 0.7.2
>
> Attachments: HAMA-1002.0.patch
>
>
> Compilation with Hadoop 2.8+ does not work because transitive dependencies
> for Hadoop have been changed:
> {noformat}
> $ mvn clean package -Phadoop2 -Dhadoop.version=2.8.1 -DskipTests
> (snip)
> [INFO] Apache Hama parent POM ............................. SUCCESS [ 23.797
> s]
> [INFO] pipes .............................................. SUCCESS [ 22.680
> s]
> [INFO] commons ............................................ FAILURE [ 6.662
> s]
> [INFO] core ............................................... SKIPPED
> [INFO] graph .............................................. SKIPPED
> [INFO] machine learning ................................... SKIPPED
> [INFO] examples ........................................... SKIPPED
> [INFO] mesos .............................................. SKIPPED
> [INFO] yarn ............................................... SKIPPED
> [INFO] hama-dist .......................................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 53.544 s
> [INFO] Finished at: 2017-12-26T14:55:24+09:00
> [INFO] Final Memory: 62M/568M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
> (default-testCompile) on project hama-commons: Compilation failure:
> Compilation failure:
> [ERROR]
> /Users/ywkim/workspace/hama/commons/src/test/java/org/apache/hama/commons/math/TestDenseDoubleVector.java:[20,23]
> error: package org.junit does not exist
> [ERROR]
> /Users/ywkim/workspace/hama/commons/src/test/java/org/apache/hama/commons/math/TestDenseDoubleVector.java:[20,0]
> error: static import only from classes and interfaces
> [ERROR]
> /Users/ywkim/workspace/hama/commons/src/test/java/org/apache/hama/commons/math/TestDenseDoubleVector.java:[21,23]
> error: package org.junit does not exist
> (snip)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)