You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sahil Takiar (JIRA)" <ji...@apache.org> on 2018/07/02 18:57:00 UTC
[jira] [Created] (HIVE-20054) Propagate ExecutionExceptions from
the driver thread to the client
Sahil Takiar created HIVE-20054:
-----------------------------------
Summary: Propagate ExecutionExceptions from the driver thread to the client
Key: HIVE-20054
URL: https://issues.apache.org/jira/browse/HIVE-20054
Project: Hive
Issue Type: Sub-task
Reporter: Sahil Takiar
In {{AbstractSparkClient}} we have the following code:
{code:java}
try {
driverFuture.get();
} catch (InterruptedException ie) {
// Give up.
LOG.warn("Interrupted before driver thread was finished.", ie);
} catch (ExecutionException ee) {
LOG.error("Driver thread failed", ee);
}
{code}
If the driver {{Future}} throws an {{ExecutionException}} the error is simply logged, and a {{RuntimeException}} is thrown with the generic message "Error while waiting for Remote Spark Driver to connect back to HiveServer2."
We should propagate the {{ExecutionException}} to the client.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)