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

ASF GitHub Bot commented on BEAM-2837:
--------------------------------------

GitHub user mairbek opened a pull request:

    https://github.com/apache/beam/pull/3925

    [BEAM-2837] OrderedCode library

    provides encoding a sequence of typed entities into a byte array that can 
be lexicographically sorted.
    
    R: @chamikaramj

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mairbek/beam orderedcode2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/beam/pull/3925.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3925
    
----
commit 077523b0f370c9cf02b4ddb179aa3e6893771dbc
Author: Mairbek Khadikov <mair...@google.com>
Date:   2017-09-29T23:43:05Z

    OrderedCode library provides encoding a sequence of typed enities into a 
byte array that can be lexicographically sorted.

----


> Writing To Spanner From Google Cloud DataFlow - Failure
> -------------------------------------------------------
>
>                 Key: BEAM-2837
>                 URL: https://issues.apache.org/jira/browse/BEAM-2837
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-dataflow
>    Affects Versions: 2.1.0
>         Environment: Google Cloud DataFlow
>            Reporter: Al Yaros
>            Assignee: Mairbek Khadikov
>             Fix For: 2.2.0
>
>
> Simple Java Program That reads from Pub\Sub and Writes to Spanner Fails with 
> cryptic error message.
> Simple Program to Demonstrate the Error:
> [https://github.com/alyaros/ExamplePubSubToSpannerViaDataFlow]
> {code:java}
> *Caused by: org.apache.beam.sdk.util.UserCodeException: 
> java.lang.NoClassDefFoundError: Could not initialize class 
> com.google.cloud.spanner.spi.v1.SpannerErrorInterceptor
>         
> org.apache.beam.sdk.util.UserCodeException.wrap(UserCodeException.java:36)
>         org.apache.beam.sdk.io.
> gcp.spanner.SpannerWriteGroupFn$DoFnInvoker.invokeSetup(Unknown Source)
>         
> com.google.cloud.dataflow.worker.DoFnInstanceManagers$ConcurrentQueueInstanceManager.deserializeCopy(DoFnInstanceManagers.java:66)
>         
> com.google.cloud.dataflow.worker.DoFnInstanceManagers$ConcurrentQueueInstanceManager.peek(DoFnInstanceManagers.java:48)
>         
> com.google.cloud.dataflow.worker.UserParDoFnFactory.create(UserParDoFnFactory.java:104)
>         
> com.google.cloud.dataflow.worker.DefaultParDoFnFactory.create(DefaultParDoFnFactory.java:66)
>         
> com.google.cloud.dataflow.worker.MapTaskExecutorFactory.createParDoOperation(MapTaskExecutorFactory.java:360)
>         
> com.google.cloud.dataflow.worker.MapTaskExecutorFactory$3.typedApply(MapTaskExecutorFactory.java:271)
>         
> com.google.cloud.dataflow.worker.MapTaskExecutorFactory$3.typedApply(MapTaskExecutorFactory.java:253)
>         
> com.google.cloud.dataflow.worker.graph.Networks$TypeSafeNodeFunction.apply(Networks.java:55)
>         
> com.google.cloud.dataflow.worker.graph.Networks$TypeSafeNodeFunction.apply(Networks.java:43)
>         
> com.google.cloud.dataflow.worker.graph.Networks.replaceDirectedNetworkNodes(Networks.java:78)
>         
> com.google.cloud.dataflow.worker.MapTaskExecutorFactory.create(MapTaskExecutorFactory.java:142)
>         
> com.google.cloud.dataflow.worker.StreamingDataflowWorker.process(StreamingDataflowWorker.java:925)
>         
> com.google.cloud.dataflow.worker.StreamingDataflowWorker.access$800(StreamingDataflowWorker.java:133)
>         
> com.google.cloud.dataflow.worker.StreamingDataflowWorker$7.run(StreamingDataflowWorker.java:771)
>         
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         java.lang.Thread.run(Thread.java:745)*
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to