Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Cannot build Oryx 1.0.2

avatar
Explorer

Hi Sean,

 

I got the laetest Oryx version (1.0.2-SNAPSHOT) from https://github.com/cloudera/oryx...

And, tried the use maven to build it... I got the following error messages. Any suggestions?

What's the Guava version used in Oryx ?

I am using Java 1.8..

Thanks.

 

By the way,  I used to download 1.0.1-SNAPSHOT motnhs ago and built it fine without problems.

 

 

 

--------

[INFO] Reactor Summary:
[INFO]
[INFO] Oryx .............................................. SUCCESS [0.762s]
[INFO] Oryx Common ....................................... FAILURE [2.740s]
[INFO] Oryx Common for Serving and Computation ........... SKIPPED
[INFO] Oryx Alternating Least Squares Common ............. SKIPPED
[INFO] Oryx Serving Layer Common ......................... SKIPPED
[INFO] Oryx Alternating Least Squares Serving ............ SKIPPED
[INFO] Oryx Computation Layer Common ..................... SKIPPED
[INFO] Oryx Alternating Least Squares Computation ........ SKIPPED
[INFO] Oryx K-Means Common ............................... SKIPPED
[INFO] Oryx K-Means Serving .............................. SKIPPED
[INFO] Oryx K-Means Computation .......................... SKIPPED
[INFO] Oryx Random Decision Forests Common ............... SKIPPED
[INFO] Oryx Random Decision Forests Serving .............. SKIPPED
[INFO] Oryx Random Decision Forests Computation .......... SKIPPED
[INFO] Oryx Computation Layer ............................ SKIPPED
[INFO] Oryx Serving Layer ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.688s
[INFO] Finished at: Mon Feb 23 18:28:29 PST 2015
[INFO] Final Memory: 20M/114M
[INFO] ------------------------------------------------------------------------
[ERROR] com.google.common.base.Supplier not found.
java.lang.ClassNotFoundException: com.google.common.base.Supplier not found.
    at org.apache.bcel.util.ClassLoaderRepository.loadClass(ClassLoaderRepository.java:91)
    at org.apache.bcel.classfile.JavaClass.getInterfaces(JavaClass.java:788)
    at org.apache.bcel.classfile.JavaClass.getAllInterfaces(JavaClass.java:804)
    at net.sf.clirr.core.internal.bcel.BcelJavaType.getAllInterfaces(BcelJavaType.java:78)
    at net.sf.clirr.core.internal.checks.InterfaceSetCheck.check(InterfaceSetCheck.java:58)
    at net.sf.clirr.core.Checker.runClassChecks(Checker.java:190)
    at net.sf.clirr.core.Checker.reportDiffs(Checker.java:136)
    at org.codehaus.mojo.clirr.AbstractClirrMojo.reportDiffs(AbstractClirrMojo.java:740)
    at org.codehaus.mojo.clirr.AbstractClirrMojo.executeClirr(AbstractClirrMojo.java:308)
    at org.codehaus.mojo.clirr.AbstractClirrCheckMojo.doExecute(AbstractClirrCheckMojo.java:74)
    at org.codehaus.mojo.clirr.AbstractClirrMojo.execute(AbstractClirrMojo.java:244)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

 

 

1 ACCEPTED SOLUTION

avatar
Master Collaborator

That's strange, master builds in Travis right now: https://travis-ci.org/cloudera/oryx

It builds locally for me too.

 

The error is actually from your copy of Maven.

Do you have anything unusual set for your classpath or in your Maven install? it's like it can't find the copy of Guava it expects.

View solution in original post

2 REPLIES 2

avatar
Master Collaborator

That's strange, master builds in Travis right now: https://travis-ci.org/cloudera/oryx

It builds locally for me too.

 

The error is actually from your copy of Maven.

Do you have anything unusual set for your classpath or in your Maven install? it's like it can't find the copy of Guava it expects.

avatar
Explorer
ya. It looks my local issue to locate Guava. Thanks for your reply.