beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Etienne Chauchot (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (BEAM-2112) Add support for PCollectionView in spark runner in streaming mode
Date Mon, 29 May 2017 16:14:04 GMT

     [ https://issues.apache.org/jira/browse/BEAM-2112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Etienne Chauchot updated BEAM-2112:
-----------------------------------
    Comment: was deleted

(was: I will submit a PR with a more specialized test than Nexmark query7. In the mean time
NexMark can be used to test
)

> Add support for PCollectionView in spark runner in streaming mode
> -----------------------------------------------------------------
>
>                 Key: BEAM-2112
>                 URL: https://issues.apache.org/jira/browse/BEAM-2112
>             Project: Beam
>          Issue Type: New Feature
>          Components: runner-spark
>            Reporter: Etienne Chauchot
>            Assignee: Amit Sela
>
> As a test, Nexmark query7 can be used
> run Nexmark query7 (https://github.com/iemejia/beam/tree/BEAM-160-nexmark) in streaming
mode using Spark.
> Run main in
> {code}org.apache.beam.integration.nexmark.drivers.NexmarkSparkDriver{code}
> with VMOptions:
> {code} -Dspark.ui.enabled=false -DSPARK_LOCAL_IP=localhost -Dsun.io.serialization.extendedDebugInfo=true
{code}
> with Program arguments:
> {code}--query=7  --streaming=true --numEventGenerators=4 --manageResources=false --monitorJobs=true
--enforceEncodability=false --enforceImmutability=false{code}
> StackTrace is 
> {code}
> Exception in thread "main" java.lang.IllegalStateException: No TransformEvaluator registered
for UNBOUNDED transform class org.apache.beam.sdk.transforms.View$CreatePCollectionView
> 	at com.google.common.base.Preconditions.checkState(Preconditions.java:518)
> 	at org.apache.beam.runners.spark.translation.streaming.StreamingTransformTranslator$Translator.translateUnbounded(StreamingTransformTranslator.java:529)
> 	at org.apache.beam.runners.spark.SparkRunner$Evaluator.translate(SparkRunner.java:435)
> 	at org.apache.beam.runners.spark.SparkRunner$Evaluator.doVisitTransform(SparkRunner.java:405)
> 	at org.apache.beam.runners.spark.SparkRunner$Evaluator.visitPrimitiveTransform(SparkRunner.java:395)
> 	at org.apache.beam.sdk.runners.TransformHierarchy$Node.visit(TransformHierarchy.java:488)
> 	at org.apache.beam.sdk.runners.TransformHierarchy$Node.visit(TransformHierarchy.java:483)
> 	at org.apache.beam.sdk.runners.TransformHierarchy$Node.visit(TransformHierarchy.java:483)
> 	at org.apache.beam.sdk.runners.TransformHierarchy$Node.visit(TransformHierarchy.java:483)
> 	at org.apache.beam.sdk.runners.TransformHierarchy$Node.access$400(TransformHierarchy.java:232)
> 	at org.apache.beam.sdk.runners.TransformHierarchy.visit(TransformHierarchy.java:207)
> 	at org.apache.beam.sdk.Pipeline.traverseTopologically(Pipeline.java:384)
> 	at org.apache.beam.runners.spark.translation.streaming.SparkRunnerStreamingContextFactory.call(SparkRunnerStreamingContextFactory.java:88)
> 	at org.apache.beam.runners.spark.translation.streaming.SparkRunnerStreamingContextFactory.call(SparkRunnerStreamingContextFactory.java:47)
> 	at org.apache.spark.streaming.api.java.JavaStreamingContext$$anonfun$10.apply(JavaStreamingContext.scala:776)
> 	at org.apache.spark.streaming.api.java.JavaStreamingContext$$anonfun$10.apply(JavaStreamingContext.scala:775)
> 	at scala.Option.getOrElse(Option.scala:120)
> 	at org.apache.spark.streaming.StreamingContext$.getOrCreate(StreamingContext.scala:864)
> 	at org.apache.spark.streaming.api.java.JavaStreamingContext$.getOrCreate(JavaStreamingContext.scala:775)
> 	at org.apache.spark.streaming.api.java.JavaStreamingContext.getOrCreate(JavaStreamingContext.scala)
> 	at org.apache.beam.runners.spark.SparkRunner.run(SparkRunner.java:155)
> 	at org.apache.beam.runners.spark.SparkRunner.run(SparkRunner.java:85)
> 	at org.apache.beam.sdk.Pipeline.run(Pipeline.java:277)
> 	at org.apache.beam.integration.nexmark.NexmarkRunner.run(NexmarkRunner.java:1281)
> 	at org.apache.beam.integration.nexmark.NexmarkDriver.runAll(NexmarkDriver.java:69)
> 	at org.apache.beam.integration.nexmark.drivers.NexmarkSparkDriver.main(NexmarkSparkDriver.java:46)
> 	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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message