swsnu / bdcsfall2014

0 stars 0 forks source link

Error on re-installing shimoga #34

Open jwpark-bioinfo opened 9 years ago

jwpark-bioinfo commented 9 years ago

I thought it was something screwed up in my path set-up, so I'm re-installing REEF. I deleted all of my files in my .m2 directory with "rm -r" and got REEF, shimoga on new directory by "git clone". However, "mvn clean install" for incubator-reef (ver 1.0) was successful but errors were occurred for "mvn clean install" for shimoga, like below.

[INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.microsoft.reef:shimoga:jar:0.1-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for com.mycila.maven-license-plugin:maven-license-plugin is missing. @ line 94, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Elastic Group Communications for REEF 0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ shimoga --- [INFO] Deleting /Users/jin-ubag/myworkspace/shimoga/target [INFO] [INFO] --- maven-antrun-plugin:1.3:run (generate-sources) @ shimoga --- [INFO] Executing tasks [mkdir] Created dir: /Users/jin-ubag/myworkspace/shimoga/target/generated-sources/proto [INFO] Executed tasks [INFO] Registering compile source root /Users/jin-ubag/myworkspace/shimoga/target/generated-sources/proto [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ shimoga --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/jin-ubag/myworkspace/shimoga/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ shimoga --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 280 source files to /Users/jin-ubag/myworkspace/shimoga/target/classes [INFO] ------------------------------------------------------------- [WARNING] COMPILATION WARNING : [INFO] ------------------------------------------------------------- [WARNING] bootstrap class path not set in conjunction with -source 1.7 [WARNING] /Users/jin-ubag/myworkspace/shimoga/src/main/java/com/microsoft/reef/examples/nggroup/tron/loss/WeightedLogisticLossFunction.java:[6,46] sun.reflect.generics.reflectiveObjects.NotImplementedException is internal proprietary API and may be removed in a future release [WARNING] /Users/jin-ubag/myworkspace/shimoga/src/main/java/com/microsoft/reef/examples/nggroup/tron/TRONClient.java:[96,13] addClasspath(org.apache.reef.tang.formats.ConfigurationModule,org.apache.reef.tang.formats.OptionalParameter) in org.apache.reef.util.EnvironmentUtils has been deprecated [WARNING] /Users/jin-ubag/myworkspace/shimoga/src/main/java/com/microsoft/reef/examples/nggroup/broadcast/BroadcastREEF.java:[112,9] addClasspath(org.apache.reef.tang.formats.ConfigurationModule,org.apache.reef.tang.formats.OptionalParameter) in org.apache.reef.util.EnvironmentUtils has been deprecated [WARNING] /Users/jin-ubag/myworkspace/shimoga/src/main/java/com/microsoft/reef/examples/nggroup/tron/loss/WeightedLogisticLossFunction.java:[64,15] sun.reflect.generics.reflectiveObjects.NotImplementedException is internal proprietary API and may be removed in a future release [WARNING] /Users/jin-ubag/myworkspace/shimoga/src/main/java/com/microsoft/reef/examples/nggroup/bgd/BGDClient.java:[96,13] addClasspath(org.apache.reef.tang.formats.ConfigurationModule,org.apache.reef.tang.formats.OptionalParameter) in org.apache.reef.util.EnvironmentUtils has been deprecated [WARNING] /Users/jin-ubag/myworkspace/shimoga/src/main/java/com/microsoft/reef/examples/nggroup/tron/SlaveTask.java: Some input files use unchecked or unsafe operations. [WARNING] /Users/jin-ubag/myworkspace/shimoga/src/main/java/com/microsoft/reef/examples/nggroup/tron/SlaveTask.java: Recompile with -Xlint:unchecked for details. [INFO] 8 warnings [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /Users/jin-ubag/myworkspace/shimoga/src/main/java/com/microsoft/reef/examples/groupcomm/matmul/TaskSubmitter.java:[111,19] org.apache.reef.io.network.naming.NameServer is abstract; cannot be instantiated [ERROR] /Users/jin-ubag/myworkspace/shimoga/src/main/java/com/microsoft/reef/io/network/nggroup/impl/driver/GroupCommDriverImpl.java:[66,42] org.apache.reef.io.network.naming.NameServer is abstract; cannot be instantiated [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.607 s [INFO] Finished at: 2014-12-05T13:44:09+09:00 [INFO] Final Memory: 22M/267M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project shimoga: Compilation failure: Compilation failure: [ERROR] /Users/jin-ubag/myworkspace/shimoga/src/main/java/com/microsoft/reef/examples/groupcomm/matmul/TaskSubmitter.java:[111,19] org.apache.reef.io.network.naming.NameServer is abstract; cannot be instantiated [ERROR] /Users/jin-ubag/myworkspace/shimoga/src/main/java/com/microsoft/reef/io/network/nggroup/impl/driver/GroupCommDriverImpl.java:[66,42] org.apache.reef.io.network.naming.NameServer is abstract; cannot be instantiated [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/MojoFailureException

yunseong commented 9 years ago

The recent commit in the REEF repository causes this error. (https://github.com/apache/incubator-reef/commit/7492d26) Since it is a separate branch, it does not cover all the changes from REEF repository.

As a workaround, you can checkout to the previous commit in the REEF repo.

# in the REEF repo
git checkout 37c2e5c
mvn clean install -DskipTests

After this, you can build shimoga successfully. We will file an issue to shimoga about this. Thanks for the report!

bgchun commented 9 years ago

@jwpark-bioinfo I will give you access to shimogapp.

bgchun commented 9 years ago

@jwpark-bioinfo I just invited you.

bgchun commented 9 years ago

@jwpark-bioinfo It looks like you haven't accepted my invitation. Once you accept it, you can use cmssnu/shimogapp.

jwpark-bioinfo commented 9 years ago

I thought that I was automatically added as a member because I was in the list when I saw "http://github.com/orgs/cmssnu/teams/bds-ml-users" . So, I just did "git pull origin master" at REEF dir. If it was wrong, could you explain me the procedure that I have to do?

bgchun commented 9 years ago

You're good to go. I have had to talk to another student.

On Sat, Dec 6, 2014 at 11:13 AM, jwpark-bioinfo notifications@github.com wrote:

I thought that I was automatically added as a member because I was in the list when I saw "http://github.com/orgs/cmssnu/teams/bds-ml-users https://github.com/orgs/cmssnu/teams/bds-ml-users" . So, I just did "git pull origin master" at REEF dir. If it was wrong, could you explain me the procedure that I have to do?

— Reply to this email directly or view it on GitHub https://github.com/swsnu/discussionbdcsfall2014/issues/34#issuecomment-65881432 .

Byung-Gon Chun