Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-47489

Action performed on Dataset is triggering an error as "The Spark SQL phase planning failed with an internal error."

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.4.2
    • None
    • k8s, Spark Core, Spark Submit
    • None

    Description

      Hi team, 

      We are upgrading to spark 3.4.2 from 3.3.2 and facing issue in the spark driver as below.

      "org.apache.spark.SparkException: [INTERNAL_ERROR] The Spark SQL phase planning failed with an internal error. You hit a bug in Spark or the Spark plugins you use. Please, report this bug to the corresponding communities or vendors, and provide the full stack trace."

       

      Complete stack trace is as attached.

      After analysing further , found that when we try to perform any actions on the dataset, spark is unable to plan its actions, results in this exception. 

      Attaching a Exception stack trace & code snippet where exactly we are trigging an action to convert it as java RDD.

       

      Attaching the spark submit command as well for your reference.

      Can you please check this issue let us know if any fix available for this issue.

      Attachments

        1. landing-table-update-1711534916824-driver_TRACE.txt
          12.49 MB
          Jagadeesh Marada
        2. jars added to spark_submit.jpeg
          232 kB
          Jagadeesh Marada
        3. code snippet.jpeg
          142 kB
          Jagadeesh Marada
        4. exception_stack_trace.txt
          24 kB
          Jagadeesh Marada
        5. spark-submit cmd.txt
          6 kB
          Jagadeesh Marada

        Activity

          People

            Unassigned Unassigned
            jagadeeshmarada Jagadeesh Marada
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: