There are subtle API incompatibilities. Unfortunate. But true.
On Fri, Mar 27, 2015 at 10:16 AM, Pat Ferrel <[email protected]> wrote: > As I said in the other thread forcing Java 7 is not as big a deal as > forcing Hadoop 1.2.1. Is there some new part of 2.X that we need? Or some > forced API incompatability? > > > On Mar 27, 2015, at 9:58 AM, Suneel Marthi <[email protected]> > wrote: > > TED??? please jump in. > > On Fri, Mar 27, 2015 at 12:54 PM, Pat Ferrel <[email protected]> > wrote: > > > Aren’t current Mahout 0.9 users on hadoop 1.2.1 by definition? Probably > > most on Java 6 too. > > > > Unless there is some strong reason it seems like we should support both > of > > those for at least one release, shouldn’t we? > > > > I have a hadoop 1.2.1 cluster, which has a hadoop job that is not Hadoop > 2 > > compatible so I’m stuck there for the time being. Compiling Mahout for > this > > now gives an error over the H2 API “isDirectory”, which I think used to > be > > “isDir” for H1. Has that API been deprecated in H2? Are we forced to > chose > > either/or? > > > > > > On Mar 27, 2015, at 9:31 AM, Pat Ferrel <[email protected]> wrote: > > > > It should, Hadoop supports it long term and lots of people stuck there > > with projects that haven’t been upgraded (Mahout comes to mind). > > > > On Mar 27, 2015, at 9:26 AM, Stevo Slavić <[email protected]> wrote: > > > > Have to check but I doubt that build supports hadoop 1.x any more. > > > > On Fri, Mar 27, 2015 at 5:15 PM, Suneel Marthi <[email protected]> > > wrote: > > > >> This is the Java version, gotta use Java 7 > >> > >> On Fri, Mar 27, 2015 at 12:08 PM, Pat Ferrel <[email protected]> > >> wrote: > >> > >>> Latest source for Spark 1.1.0 and Hadoop 1.2.1 > >>> > >>> Build complains about the move to > >>> <maven.compiler.target>1.7</maven.compiler.target> I think this was > > upped > >>> from 1.6 but not sure if that’s what the error is about. > >>> > >>> I’m on Java 6 no this machine if that matters. > >>> > >>> Actual error: > >>> > >>> [INFO] Mahout Build Tools ................................ SUCCESS > >> [3.512s] > >>> [INFO] Apache Mahout ..................................... SUCCESS > >> [0.603s] > >>> [INFO] Mahout Math ....................................... FAILURE > >> [6.453s] > >>> [INFO] Mahout MapReduce Legacy ........................... SKIPPED > >>> [INFO] Mahout Integration ................................ SKIPPED > >>> [INFO] Mahout Examples ................................... SKIPPED > >>> [INFO] Mahout Release Package ............................ SKIPPED > >>> [INFO] Mahout Math Scala bindings ........................ SKIPPED > >>> [INFO] Mahout Spark bindings ............................. SKIPPED > >>> [INFO] Mahout Spark bindings shell ....................... SKIPPED > >>> [INFO] Mahout H2O backend ................................ SKIPPED > >>> [INFO] > >>> > ------------------------------------------------------------------------ > >>> [INFO] BUILD FAILURE > >>> [INFO] > >>> > ------------------------------------------------------------------------ > >>> [INFO] Total time: 11.609s > >>> [INFO] Finished at: Fri Mar 27 08:55:35 PDT 2015 > >>> [INFO] Final Memory: 24M/310M > >>> [INFO] > >>> > ------------------------------------------------------------------------ > >>> [ERROR] Failed to execute goal > >>> org.apache.maven.plugins:maven-compiler-plugin:3.2:compile > >>> (default-compile) on project mahout-math: Fatal error compiling: > invalid > >>> target release: 1.7 -> [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] > >>> > >>> > >> > > > > > > > >
