Kent Yao created SPARK-31678:
--------------------------------

             Summary: PrintStackTrace for Spark SQL CLI when error occurs
                 Key: SPARK-31678
                 URL: https://issues.apache.org/jira/browse/SPARK-31678
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.5, 3.0.0, 3.1.0
            Reporter: Kent Yao


When I was finding the root cause of 
https://issues.apache.org/jira/browse/SPARK-31675, I noticed that it is very 
difficult for me to see what was actually going on, since it output nothing 
else but


{code:java}
Error in query: java.lang.IllegalArgumentException: Wrong FS: 
hdfs://cluster2/user/warehouse/bdms_hzyaoqin_test.db/abc/.hive-staging_hive_2020-05-11_17-10-27_123_6306294638950056285-1/-ext-10000/part-00000-badf2a31-ab36-4b60-82a1-0848774e4af5-c000,
 expected: hdfs://cluster1
{code}

It is really hard for us to find causes through such a simple error message.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to