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)