beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maximilian Michels (JIRA)" <>
Subject [jira] [Created] (BEAM-5527) Java PortableRunner produces wrongly shaded jar
Date Sun, 30 Sep 2018 17:43:00 GMT
Maximilian Michels created BEAM-5527:

             Summary: Java PortableRunner produces wrongly shaded jar
                 Key: BEAM-5527
             Project: Beam
          Issue Type: Bug
          Components: runner-core
            Reporter: Maximilian Michels
            Assignee: Maximilian Michels
             Fix For: 2.8.0

Was trying out the Java Portable Runner. {{beam-runners-reference-java}} is shaded but does
not contain the required Guava classes:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/beam/repackaged/beam_runners_reference_java/com/google/common/collect/ImmutableList
	at org.apache.beam.runners.reference.PortableRunnerRegistrar.getPipelineRunners(
	at org.apache.beam.sdk.options.PipelineOptionsFactory$Cache.<init>(
	at org.apache.beam.sdk.options.PipelineOptionsFactory$Cache.<init>(
	at org.apache.beam.sdk.options.PipelineOptionsFactory.resetCache(
	at org.apache.beam.sdk.options.PipelineOptionsFactory.<clinit>(
	at PortableWordCount.main(
Caused by: java.lang.ClassNotFoundException:
	at java.lang.ClassLoader.loadClass(
	at sun.misc.Launcher$AppClassLoader.loadClass(
	at java.lang.ClassLoader.loadClass(
	... 6 more

This message was sent by Atlassian JIRA

View raw message