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

Error message is hidden when query from JDBC, especially enabled adaptive execution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • SQL
    • None

    Description

      When adaptive execution is enabled, the Spark users who connected from JDBC always get adaptive execution error whatever the under root cause is. It's very confused. We have to check the driver log to find out why.

      0: jdbc:hive2://localhost:10000> SELECT * FROM testData join testData2 ON key = v;
      SELECT * FROM testData join testData2 ON key = v;
      Error: Error running query: org.apache.spark.SparkException: Adaptive execution failed due to stage materialization failures. (state=,code=0)
      0: jdbc:hive2://localhost:10000> 
      

      For example, a job queried from JDBC failed due to HDFS missing block. User still get the error message Adaptive execution failed due to stage materialization failures.

      Attachments

        Issue Links

          Activity

            People

              cltlfcjin Lantao Jin
              cltlfcjin Lantao Jin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: