Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-8980

When using kryo serializer in Spark, it may be loading spark classes from the main classloader instead of the SparkRunnerClassLoader

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0, 4.0.0, 3.6.0, 3.5.0
    • Fix Version/s: 4.1.1
    • Component/s: None
    • Labels:
    • Release Notes:
      Fixed an issue with the Spark program runtime so that the Kryo serializer can be used.
    • Rank:
      1|hzzxqv:

      Description

      Add the setting
      spark.serializer=org.apache.spark.serializer.KryoSerializer
      in /etc/spark/conf/spark-defaults.conf
      will surface the issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                terence Terence Yim
                Reporter:
                terence Terence Yim
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: