Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scoobi 0.8.0-hadoop2-SNAPSHOT doesn't run on YARN on CDH5-beta1 #303

Open
GrahamLea opened this issue Nov 20, 2013 · 0 comments
Open

Scoobi 0.8.0-hadoop2-SNAPSHOT doesn't run on YARN on CDH5-beta1 #303

GrahamLea opened this issue Nov 20, 2013 · 0 comments

Comments

@GrahamLea
Copy link

Using 0.8.0-hadoop2-SNAPSHOT to run the WordCount example from the Scoobi website on YARN/MR2 on a CDH5-beta cluster fails with a NoSuchMethodException on org.apache.hadoop.mapreduce.Job.getJobClient()

Exception in thread "main" java.lang.NoSuchMethodException: org.apache.hadoop.mapreduce.Job.getJobClient()
    at java.lang.Class.getDeclaredMethod(Class.java:1973)
    at com.nicta.scoobi.impl.reflect.Classes$class.invokeProtected(Classes.scala:135)
    at com.nicta.scoobi.impl.reflect.Classes$.invokeProtected(Classes.scala:165)
    at com.nicta.scoobi.impl.exec.TaskDetailsLogger.getJobClient$lzycompute(MapReduceJob.scala:314)
    at com.nicta.scoobi.impl.exec.TaskDetailsLogger.getJobClient(MapReduceJob.scala:314)
    at com.nicta.scoobi.impl.exec.TaskDetailsLogger.com$nicta$scoobi$impl$exec$TaskDetailsLogger$$getTaskCompletionEvents(MapReduceJob.scala:308)
    at com.nicta.scoobi.impl.exec.TaskDetailsLogger$$anonfun$logTaskCompletionDetails$1.apply(MapReduceJob.scala:285)
    at com.nicta.scoobi.impl.exec.TaskDetailsLogger$$anonfun$logTaskCompletionDetails$1.apply(MapReduceJob.scala:285)
    at scala.collection.Iterator$$anon$9.next(Iterator.scala:162)
    at scala.collection.Iterator$$anon$17.hasNext(Iterator.scala:511)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at com.nicta.scoobi.impl.exec.TaskDetailsLogger.logTaskCompletionDetails(MapReduceJob.scala:285)
    at com.nicta.scoobi.impl.exec.MapReduceJob.executeJob(MapReduceJob.scala:215)
    at com.nicta.scoobi.impl.exec.MapReduceJob.execute(MapReduceJob.scala:69)
    at com.nicta.scoobi.impl.exec.HadoopMode$Execution$$anonfun$runMscrs$4.apply(HadoopMode.scala:141)
    at com.nicta.scoobi.impl.exec.HadoopMode$Execution$$anonfun$runMscrs$4.apply(HadoopMode.scala:141)
    at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
    at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
    at scala.collection.immutable.List.foreach(List.scala:318)
    at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
    at scala.collection.AbstractTraversable.map(Traversable.scala:105)
    at com.nicta.scoobi.impl.exec.HadoopMode$Execution.runMscrs(HadoopMode.scala:141)
    at com.nicta.scoobi.impl.exec.HadoopMode$Execution.execute(HadoopMode.scala:119)
    at com.nicta.scoobi.impl.exec.HadoopMode$$anonfun$executeLayer$1.apply(HadoopMode.scala:109)
    at com.nicta.scoobi.impl.exec.HadoopMode$$anonfun$executeLayer$1.apply(HadoopMode.scala:108)
    at org.kiama.attribution.AttributionCore$CachedAttribute.apply(AttributionCore.scala:61)
    at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
    at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
    at scala.collection.immutable.List.foreach(List.scala:318)
    at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
    at scala.collection.AbstractTraversable.map(Traversable.scala:105)
    at com.nicta.scoobi.impl.exec.HadoopMode.com$nicta$scoobi$impl$exec$HadoopMode$$executeLayers$1(HadoopMode.scala:68)
    at com.nicta.scoobi.impl.exec.HadoopMode$$anonfun$executeNode$1.apply(HadoopMode.scala:91)
    at com.nicta.scoobi.impl.exec.HadoopMode$$anonfun$executeNode$1.apply(HadoopMode.scala:84)
    at org.kiama.attribution.AttributionCore$CachedAttribute.apply(AttributionCore.scala:61)
    at scalaz.syntax.IdOps$class.$bar$greater(IdOps.scala:15)
    at scalaz.syntax.ToIdOps$$anon$1.$bar$greater(IdOps.scala:78)
    at com.nicta.scoobi.impl.exec.HadoopMode.execute(HadoopMode.scala:52)
    at com.nicta.scoobi.impl.exec.HadoopMode.execute(HadoopMode.scala:48)
    at com.nicta.scoobi.impl.Persister.persist(Persister.scala:44)
    at com.nicta.scoobi.impl.ScoobiConfigurationImpl.persist(ScoobiConfigurationImpl.scala:355)
    at com.nicta.scoobi.application.Persist$class.persist(Persist.scala:33)
    at WordCount$.persist(MyApp.scala:4)
    at com.nicta.scoobi.application.Persist$PersistableList.persist(Persist.scala:151)
    at WordCount$.run(MyApp.scala:12)
    at com.nicta.scoobi.application.ScoobiApp$$anonfun$main$1.apply$mcV$sp(ScoobiApp.scala:80)
    at com.nicta.scoobi.application.ScoobiApp$$anonfun$main$1.apply(ScoobiApp.scala:75)
    at com.nicta.scoobi.application.ScoobiApp$$anonfun$main$1.apply(ScoobiApp.scala:75)
    at com.nicta.scoobi.application.Hadoop$class.runOnCluster(Hadoop.scala:112)
    at WordCount$.runOnCluster(MyApp.scala:4)
    at com.nicta.scoobi.application.Hadoop$class.executeOnCluster(Hadoop.scala:69)
    at WordCount$.executeOnCluster(MyApp.scala:4)
    at com.nicta.scoobi.application.Hadoop$$anonfun$onCluster$1.apply(Hadoop.scala:55)
    at com.nicta.scoobi.application.InMemoryHadoop$class.withTimer(InMemory.scala:72)
    at WordCount$.withTimer(MyApp.scala:4)
    at com.nicta.scoobi.application.InMemoryHadoop$class.showTime(InMemory.scala:80)
    at WordCount$.showTime(MyApp.scala:4)
    at com.nicta.scoobi.application.Hadoop$class.onCluster(Hadoop.scala:55)
    at WordCount$.onCluster(MyApp.scala:4)
    at com.nicta.scoobi.application.Hadoop$class.onHadoop(Hadoop.scala:61)
    at WordCount$.onHadoop(MyApp.scala:4)
    at com.nicta.scoobi.application.ScoobiApp$class.main(ScoobiApp.scala:75)
    at WordCount$.main(MyApp.scala:4)
    at WordCount.main(MyApp.scala)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
GrahamLea added a commit to GrahamLea/scoobi that referenced this issue Nov 20, 2013
… 2.2.0

In order to get the Scoobi WordCount example working on a CDH5-beta1 cluster,
I've changed the hadoop-* dependency versions from 2.1.0.2.0.5.0-67 to 2.2.0
and removed the dependency on the hortonworks repository at the same time.
GrahamLea added a commit to GrahamLea/scoobi that referenced this issue Nov 28, 2013
ivmaykov pushed a commit to ooyala/scoobi that referenced this issue Jan 10, 2014
… 2.2.0

In order to get the Scoobi WordCount example working on a CDH5-beta1 cluster,
I've changed the hadoop-* dependency versions from 2.1.0.2.0.5.0-67 to 2.2.0
and removed the dependency on the hortonworks repository at the same time.
ivmaykov pushed a commit to ooyala/scoobi that referenced this issue Jan 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant