Uploaded image for project: 'Apache Hop (Retired)'
  1. Apache Hop (Retired)
  2. HOP-3355

Hop Web does not run with Java 8 blocking usage of Spark 2.4

    XMLWordPrintableJSON

Details

    Description

      We get a typical error like the following if we try to run a Beam pipeline on Spark:

      2021/10/04 18:53:25 - input-process-output - Executing this pipeline using the Beam Pipeline Engine with run configuration 'Spark'
      Exception in thread "Timer-6" java.lang.RuntimeException: Error refreshing engine metrics in the Beam pipeline engine
      at org.apache.hop.beam.engines.BeamPipelineEngine$1.run(BeamPipelineEngine.java:378)
      at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
      at java.base/java.util.TimerThread.run(Timer.java:506)
      Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 55
      at org.apache.xbean.asm6.ClassReader.<init>(ClassReader.java:166)
      at org.apache.xbean.asm6.ClassReader.<init>(ClassReader.java:148)
      at org.apache.xbean.asm6.ClassReader.<init>(ClassReader.java:136)
      at org.apache.xbean.asm6.ClassReader.<init>(ClassReader.java:237)
      at org.apache.spark.util.ClosureCleaner$.getClassReader(ClosureCleaner.scala:50)
      at org.apache.spark.util.FieldAccessFinder$$anon$4$$anonfun$visitMethodInsn$7.apply(ClosureCleaner.scala:845)
      at org.apache.spark.util.FieldAccessFinder$$anon$4$$anonfun$visitMethodInsn$7.apply(ClosureCleaner.scala:828)
      at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:733)
      at scala.collection.mutable.HashMap$$anon$1$$anonfun$foreach$2.apply(HashMap.scala:134)
      at scala.collection.mutable.HashMap$$anon$1$$anonfun$foreach$2.apply(HashMap.scala:134)
      at scala.collection.mutable.HashTable$class.foreachEntry(HashTable.scala:236)
      at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:40)
      at scala.collection.mutable.HashMap$$anon$1.foreach(HashMap.scala:134)
      at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:732)
      at org.apache.spark.util.FieldAccessFinder$$anon$4.visitMethodInsn(ClosureCleaner.scala:828)
      at org.apache.xbean.asm6.ClassReader.readCode(ClassReader.java:2175)
      at org.apache.xbean.asm6.ClassReader.readMethod(ClassReader.java:1238)
      at org.apache.xbean.asm6.ClassReader.accept(ClassReader.java:631)
      at org.apache.xbean.asm6.ClassReader.accept(ClassReader.java:355)
      at org.apache.spark.util.ClosureCleaner$$anonfun$org$apache$spark$util$ClosureCleaner$$clean$14.apply(ClosureCleaner.scala:272)
      at org.apache.spark.util.ClosureCleaner$$anonfun$org$apache$spark$util$ClosureCleaner$$clean$14.apply(ClosureCleaner.scala:271)
      at scala.collection.immutable.List.foreach(List.scala:392)
      at org.apache.spark.util.ClosureCleaner$.org$apache$spark$util$ClosureCleaner$$clean(ClosureCleaner.scala:271)
      at org.apache.spark.util.ClosureCleaner$.clean(ClosureCleaner.scala:163)
      at org.apache.spark.SparkContext.clean(SparkContext.scala:2332)
      at org.apache.spark.SparkContext.runJob(SparkContext.scala:2106)
      at org.apache.spark.SparkContext.runJob(SparkContext.scala:2132)
      at org.apache.spark.rdd.RDD$$anonfun$collect$1.apply(RDD.scala:990)
      at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
      at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)
      at org.apache.spark.rdd.RDD.withScope(RDD.scala:385)
      at org.apache.spark.rdd.RDD.collect(RDD.scala:989)
      at org.apache.spark.api.java.JavaRDDLike$class.collect(JavaRDDLike.scala:361)
      at org.apache.spark.api.java.AbstractJavaRDDLike.collect(JavaRDDLike.scala:45)
      at org.apache.beam.runners.spark.translation.BoundedDataset.getValues(BoundedDataset.java:96)
      at org.apache.beam.runners.spark.translation.EvaluationContext.getWindowedValues(EvaluationContext.java:289)
      at org.apache.beam.runners.spark.translation.TransformTranslator$13.evaluate(TransformTranslator.java:679)
      at org.apache.beam.runners.spark.translation.TransformTranslator$13.evaluate(TransformTranslator.java:674)
      at org.apache.beam.runners.spark.SparkRunner$Evaluator.doVisitTransform(SparkRunner.java:449)
      at org.apache.beam.runners.spark.SparkRunner$Evaluator.visitPrimitiveTransform(SparkRunner.java:438)
      at org.apache.beam.sdk.runners.TransformHierarchy$Node.visit(TransformHierarchy.java:593)
      at org.apache.beam.sdk.runners.TransformHierarchy$Node.visit(TransformHierarchy.java:585)
      at org.apache.beam.sdk.runners.TransformHierarchy$Node.visit(TransformHierarchy.java:585)
      at org.apache.beam.sdk.runners.TransformHierarchy$Node.visit(TransformHierarchy.java:585)
      at org.apache.beam.sdk.runners.TransformHierarchy$Node.visit(TransformHierarchy.java:585)
      at org.apache.beam.sdk.runners.TransformHierarchy$Node.visit(TransformHierarchy.java:585)
      at org.apache.beam.sdk.runners.TransformHierarchy$Node.visit(TransformHierarchy.java:585)
      at org.apache.beam.sdk.runners.TransformHierarchy$Node.access$500(TransformHierarchy.java:240)
      at org.apache.beam.sdk.runners.TransformHierarchy.visit(TransformHierarchy.java:214)
      at org.apache.beam.sdk.Pipeline.traverseTopologically(Pipeline.java:469)
      at org.apache.beam.runners.spark.SparkRunner.lambda$run$1(SparkRunner.java:233)
      at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      at java.base/java.lang.Thread.run(Thread.java:829)
      
      

      Attachments

        Issue Links

          Activity

            People

              hansva Hans Van Akelyen
              mcasters Matt Casters
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m