org.apache.flink.client.program.ProgramInvocationException: The main method caused an error.

incubator-beam-user | Aljoscha Krettek | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Re: Output from Beam (on Flink) to Kafka

    beam-user | 1 year ago | William McCarthy
    org.apache.flink.client.program.ProgramInvocationException: The main method caused an error.
  2. 0

    Re: Output from Beam (on Flink) to Kafka

    beam-user | 1 year ago | Aljoscha Krettek
    org.apache.flink.client.program.ProgramInvocationException: The main method caused an error.
  3. 0

    Re: Output from Beam (on Flink) to Kafka

    beam-user | 1 year ago | Maximilian Michels
    org.apache.flink.client.program.ProgramInvocationException: The main method caused an error.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Output from Beam (on Flink) to Kafka

    beam-user | 1 year ago | William McCarthy
    org.apache.flink.client.program.ProgramInvocationException: The main method caused an error.
  6. 0

    Re: Output from Beam (on Flink) to Kafka

    beam-user | 1 year ago | William McCarthy
    org.apache.flink.client.program.ProgramInvocationException: The main method caused an error.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      The transform Read(UnboundedKafkaSource) is currently not supported.

      at org.apache.beam.runners.flink.translation.FlinkBatchPipelineTranslator.visitTransform()
    2. org.apache.beam
      FlinkBatchPipelineTranslator.visitTransform
      1. org.apache.beam.runners.flink.translation.FlinkBatchPipelineTranslator.visitTransform(FlinkBatchPipelineTranslator.java:111)
      1 frame
    3. com.google.cloud
      Pipeline.traverseTopologically
      1. com.google.cloud.dataflow.sdk.runners.TransformTreeNode.visit(TransformTreeNode.java:219)
      2. com.google.cloud.dataflow.sdk.runners.TransformTreeNode.visit(TransformTreeNode.java:215)
      3. com.google.cloud.dataflow.sdk.runners.TransformTreeNode.visit(TransformTreeNode.java:215)
      4. com.google.cloud.dataflow.sdk.runners.TransformHierarchy.visit(TransformHierarchy.java:102)
      5. com.google.cloud.dataflow.sdk.Pipeline.traverseTopologically(Pipeline.java:259)
      5 frames
    4. org.apache.beam
      FlinkPipelineRunner.run
      1. org.apache.beam.runners.flink.translation.FlinkPipelineTranslator.translate(FlinkPipelineTranslator.java:34)
      2. org.apache.beam.runners.flink.FlinkPipelineExecutionEnvironment.translate(FlinkPipelineExecutionEnvironment.java:130)
      3. org.apache.beam.runners.flink.FlinkPipelineRunner.run(FlinkPipelineRunner.java:109)
      4. org.apache.beam.runners.flink.FlinkPipelineRunner.run(FlinkPipelineRunner.java:50)
      4 frames
    5. com.google.cloud
      TopHashtagsExample.main
      1. com.google.cloud.dataflow.sdk.Pipeline.run(Pipeline.java:180)
      2. com.google.cloud.dataflow.contrib.kafka.examples.TopHashtagsExample.main(TopHashtagsExample.java:140)
      2 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    7. flink-clients
      CliFrontend.main
      1. org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:505)
      2. org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:403)
      3. org.apache.flink.client.program.Client.runBlocking(Client.java:248)
      4. org.apache.flink.client.CliFrontend.executeProgramBlocking(CliFrontend.java:866)
      5. org.apache.flink.client.CliFrontend.run(CliFrontend.java:333)
      6. org.apache.flink.client.CliFrontend.parseParameters(CliFrontend.java:1189)
      7. org.apache.flink.client.CliFrontend.main(CliFrontend.java:1239)
      7 frames