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

[BEAM-598] gearpump: switch to stable version #895

Merged
merged 1 commit into from
Aug 27, 2016

Conversation

dhalperi
Copy link
Contributor

They have apparently deleted the SNAPSHOT jar and now builds are failing.

They have apparently deleted the SNAPSHOT jar and now builds are failing.
@dhalperi
Copy link
Contributor Author

R: @manuzhang

@dhalperi dhalperi changed the title gearpump: switch to stable version [BEAM-598] gearpump: switch to stable version Aug 27, 2016
@dhalperi dhalperi closed this Aug 27, 2016
@dhalperi dhalperi reopened this Aug 27, 2016
@dhalperi
Copy link
Contributor Author

I'll go ahead and merge this to the gearpump-runner branch as the build is currently broken. Manu, I'd still appreciate a review and/or followup when you get a chance.

@asfgit asfgit merged commit fb74c93 into apache:gearpump-runner Aug 27, 2016
asfgit pushed a commit that referenced this pull request Aug 27, 2016
@dhalperi dhalperi deleted the gearpump-fix branch August 27, 2016 00:50
@dhalperi
Copy link
Contributor Author

Hmm. The test suite still failed after I made this change, even though it compiled and passed all unit tests. I have disabled the build for now, and I will leave it up to @manuzhang to figure out the rest. Sorry I couldn't figure it out!

testGroupByKeyAndWindows(org.apache.beam.sdk.transforms.GroupByKeyTest)  Time elapsed: 0.293 sec  <<< ERROR!
java.lang.RuntimeException: Failed to construct instance from factory method TestGearpumpRunner#fromOptions(interface org.apache.beam.sdk.options.PipelineOptions)
    at org.apache.beam.sdk.util.InstanceBuilder.buildFromMethod(InstanceBuilder.java:236)
    at org.apache.beam.sdk.util.InstanceBuilder.build(InstanceBuilder.java:165)
    at org.apache.beam.sdk.runners.PipelineRunner.fromOptions(PipelineRunner.java:59)
    at org.apache.beam.sdk.testing.TestPipeline.fromOptions(TestPipeline.java:103)
    at org.apache.beam.sdk.testing.TestPipeline.create(TestPipeline.java:98)
    at org.apache.beam.sdk.transforms.GroupByKeyTest.testGroupByKeyAndWindows(GroupByKeyTest.java:144)
    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:498)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
    at org.junit.rules.RunRules.evaluate(RunRules.java:20)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:387)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor177.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.beam.sdk.util.InstanceBuilder.buildFromMethod(InstanceBuilder.java:225)
    ... 25 more
Caused by: java.lang.NoClassDefFoundError: org/apache/gearpump/codahale/metrics/MetricRegistry
    at org.apache.gearpump.metrics.Metrics.<init>(Metrics.scala:33)
    at org.apache.gearpump.metrics.Metrics$.createExtension(Metrics.scala:129)
    at org.apache.gearpump.metrics.Metrics$.createExtension(Metrics.scala:60)
    at akka.actor.ActorSystemImpl.registerExtension(ActorSystem.scala:755)
    at akka.actor.ActorSystemImpl$$anonfun$loadExtensions$1.apply(ActorSystem.scala:784)
    at akka.actor.ActorSystemImpl$$anonfun$loadExtensions$1.apply(ActorSystem.scala:782)
    at scala.collection.Iterator$class.foreach(Iterator.scala:893)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at akka.actor.ActorSystemImpl.loadExtensions(ActorSystem.scala:782)
    at akka.actor.ActorSystemImpl.liftedTree2$1(ActorSystem.scala:670)
    at akka.actor.ActorSystemImpl._start$lzycompute(ActorSystem.scala:663)
    at akka.actor.ActorSystemImpl._start(ActorSystem.scala:663)
    at akka.actor.ActorSystemImpl.start(ActorSystem.scala:679)
    at akka.actor.ActorSystem$.apply(ActorSystem.scala:141)
    at akka.actor.ActorSystem$.apply(ActorSystem.scala:118)
    at org.apache.gearpump.cluster.embedded.EmbeddedCluster.start(EmbeddedCluster.scala:51)
    at org.apache.beam.runners.gearpump.TestGearpumpRunner.<init>(TestGearpumpRunner.java:41)
    at org.apache.beam.runners.gearpump.TestGearpumpRunner.fromOptions(TestGearpumpRunner.java:49)
    ... 29 more

@manuzhang
Copy link
Contributor

@dhalperi thanks for taking care of this. I will look into the test failure

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

Successfully merging this pull request may close these issues.

None yet

3 participants