mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jake Mannix <jake.man...@gmail.com>
Subject Re: decision forest
Date Tue, 09 Mar 2010 05:51:08 GMT
Did you run "mvn install" from the *top level* directory?  It will get all
of the modules, in the right order, with their proper dependencies.  The
examples module depends not only on core, but on util, and basically
everything else as well.

  -jake

On Mon, Mar 8, 2010 at 9:46 PM, Cui tony <tony.cui1983@gmail.com> wrote:

> I just re-compile mahout after patched.
> It is OK when I compiled core part, used "mvn install".
> But it failed when I compiled example part, used "mvn compile".
> The error message is :
>
> [@master examples]$ mvn compile
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Mahout Examples
> [INFO]    task-segment: [compile]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Setting property: classpath.resource.loader.class =>
> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] Copying 3 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 102 source files to
> /data/hadoop/mahout/trunk/examples/target/classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[202,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[204,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[205,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[206,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[207,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[209,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[210,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[211,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[212,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[213,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[214,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[215,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[216,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[217,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[218,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[219,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[220,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[221,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[222,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[223,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[224,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[225,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[226,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[227,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[228,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[229,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[230,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[231,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[232,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[233,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[234,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[235,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[236,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[237,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[386,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[388,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[389,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[390,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[391,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[393,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[394,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[395,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[396,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[397,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[398,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[399,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[400,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[401,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[402,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[403,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[404,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[405,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[406,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[407,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[408,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[409,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[410,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[411,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[412,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[413,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[414,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[415,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[416,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[417,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[418,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[419,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[420,0]
> class, interface, or enum expected
>
>
> /data/hadoop/mahout/trunk/examples/src/main/java/org/apache/mahout/df/mapreduce/TestForest.java:[421,0]
> class, interface, or enum expected
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Tue Mar 09 13:44:24 CST 2010
> [INFO] Final Memory: 18M/254M
> [INFO]
> ------------------------------------------------------------------------
>
>
>
> 2010/3/8 Jake Mannix <jake.mannix@gmail.com>
>
> > On Mon, Mar 8, 2010 at 12:11 AM, Cui tony <tony.cui1983@gmail.com>
> wrote:
> >
> > > First, I did update the trunk so that it contains the newest code. Then
> I
> > > applied your patch.
> > > I didn't use maven to re-build mahout. Do I have to re-build mahout? I
> > > thought eclipse will build code automatically.
> > >
> >
> > Due to the fact that we have some autogenerated code (in particular
> > the primitive collections stuff), whenever I get compile errors the
> > first thing I try if I can't tell why it doesn't work, is to have maven
> > try it first.  To do it faster just add the -DskipTests flag.
> >
> >  -jake
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message