[ https://issues.apache.org/jira/browse/HAMA-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
YoungWoo Kim updated HAMA-1002: ------------------------------- Attachment: HAMA-1002.0.patch > 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 > Reporter: YoungWoo Kim > 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)