[
https://issues.apache.org/jira/browse/HIVE-18915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441393#comment-16441393
]
Sahil Takiar commented on HIVE-18915:
-------------------------------------
One comment, when creating the {{HiveException}} for
{{SPARK_CREATE_CLIENT_ERROR}} you probably want to use
{{Throwables#getRootCause}} as the root cause exception is often the most
relevant.
It would be nice (but not necessary) to have a negative CLI driver test for
this, we basically need a way to force a failure in the spark-submit code-path.
> Better client logging when a HoS session can't be opened
> --------------------------------------------------------
>
> Key: HIVE-18915
> URL: https://issues.apache.org/jira/browse/HIVE-18915
> Project: Hive
> Issue Type: Sub-task
> Components: Spark
> Affects Versions: 3.0.0
> Reporter: Sahil Takiar
> Assignee: Aihua Xu
> Priority: Major
> Attachments: HIVE-18915.1.patch, HIVE-18915.2.patch,
> HIVE-18915.3.patch
>
>
> Users just get a {{FAILED: Execution Error, return code 30041 from
> org.apache.hadoop.hive.ql.exec.spark.SparkTask. Failed to create Spark client
> for Spark session [id]}} when a HoS session can't be opened, would be better
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)