beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Halperin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-598) GearpumpRunner depends on SNAPSHOT jar that has since been released and deleted
Date Sat, 27 Aug 2016 00:58:21 GMT

    [ https://issues.apache.org/jira/browse/BEAM-598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15440358#comment-15440358
] 

Daniel Halperin commented on BEAM-598:
--------------------------------------

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 [~mauzhang] to
figure out the rest. Sorry I couldn't figure it out!

{code}
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
{code}

> GearpumpRunner depends on SNAPSHOT jar that has since been released and deleted
> -------------------------------------------------------------------------------
>
>                 Key: BEAM-598
>                 URL: https://issues.apache.org/jira/browse/BEAM-598
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-gearpump
>    Affects Versions: Not applicable
>            Reporter: Daniel Halperin
>            Assignee: Manu Zhang
>
> {code}
> [ERROR] Failed to execute goal on project beam-runners-gearpump: Could not resolve dependencies
for project org.apache.beam:beam-runners-gearpump:jar:0.3.0-incubating-SNAPSHOT: The following
artifacts could not be resolved: org.apache.gearpump:gearpump-streaming_2.11:jar:0.8.1-SNAPSHOT,
org.apache.gearpump:gearpump-core_2.11:jar:0.8.1-SNAPSHOT, org.apache.gearpump:gearpump-daemon_2.11:jar:0.8.1-SNAPSHOT:
Failure to find org.apache.gearpump:gearpump-streaming_2.11:jar:0.8.1-SNAPSHOT in http://repository.apache.org/snapshots
was cached in the local repository, resolution will not be reattempted until the update interval
of Nexus has elapsed or updates are forced -> [Help 1]
> {code}
> https://builds.apache.org/view/Beam/job/beam_PostCommit_RunnableOnService_GearpumpLocal/145/console



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message