[ 
https://issues.apache.org/jira/browse/BEAM-11418?focusedWorklogId=595628&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-595628
 ]

ASF GitHub Bot logged work on BEAM-11418:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/May/21 20:58
            Start Date: 12/May/21 20:58
    Worklog Time Spent: 10m 
      Work Description: youngoli commented on pull request #14800:
URL: https://github.com/apache/beam/pull/14800#issuecomment-840092078


   R: @lostluck 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 595628)
    Time Spent: 1h  (was: 50m)

> [Go XLang] ClassNotFoundException due to incorrect artifact staging to x-lang 
> environment.
> ------------------------------------------------------------------------------------------
>
>                 Key: BEAM-11418
>                 URL: https://issues.apache.org/jira/browse/BEAM-11418
>             Project: Beam
>          Issue Type: Bug
>          Components: cross-language, sdk-go
>            Reporter: Daniel Oliveira
>            Assignee: Daniel Oliveira
>            Priority: P2
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Some of the test XLang transforms (CoGroupByKey, MultiInputOutput, and 
> Partition) fail on the Go SDK (using the Java Test Expansion Service). These 
> tests used to pass and started failing at some point for unknown reasons.
> The failures tend to involve a ClassNotFound exception, like so:
> {noformat}
> RuntimeError: java.lang.IllegalArgumentException: unable to deserialize 
> Custom DoFn With Execution Info
>       at 
> org.apache.beam.sdk.util.SerializableUtils.deserializeFromByteArray(SerializableUtils.java:78)
>       at 
> org.apache.beam.runners.core.construction.ParDoTranslation.doFnWithExecutionInformationFromProto(ParDoTranslation.java:712)
>       at 
> org.apache.beam.runners.core.construction.ParDoTranslation.getDoFn(ParDoTranslation.java:363)
>       at 
> org.apache.beam.fn.harness.FnApiDoFnRunner.<init>(FnApiDoFnRunner.java:351)
>       at 
> org.apache.beam.fn.harness.FnApiDoFnRunner$Factory.createRunnerForPTransform(FnApiDoFnRunner.java:183)
>       at 
> org.apache.beam.fn.harness.FnApiDoFnRunner$Factory.createRunnerForPTransform(FnApiDoFnRunner.java:157)
>       {...}
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.beam.sdk.testing.expansion.TestExpansionService$TestTransformRegistrar$PartitionBuilder
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>       at java.lang.Class.forName0(Native Method)
>       {...}
> {noformat}
> Edit: This seems to be due to artifact staging issues. This bug has been 
> re-titled to be more accurate to the root cause.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to