commit 984b8becc373defe6035a4daabcd9c836b3fc3fc Author: Bharath Krishna Date: Wed Jun 13 22:35:59 2018 -0700 HIVE-19787 : Log message when spark-submit has completed. diff --git spark-client/src/main/java/org/apache/hive/spark/client/SparkSubmitSparkClient.java spark-client/src/main/java/org/apache/hive/spark/client/SparkSubmitSparkClient.java index 1a524b9b69634e0feba5e112223e21860c3ba988..31e89b8fa0b3ebc45daf578124b0daa1cbcdebec 100644 --- spark-client/src/main/java/org/apache/hive/spark/client/SparkSubmitSparkClient.java +++ spark-client/src/main/java/org/apache/hive/spark/client/SparkSubmitSparkClient.java @@ -211,6 +211,8 @@ private String getSparkJobCredentialProviderPassword() { LOG.warn("Child process exited with code {}", exitCode); rpcServer.cancelClient(clientId, "Child process (spark-submit) exited before connecting back with error log " + errStr.toString()); + } else { + LOG.info("Child process (spark-submit) exited successfully."); } } catch (InterruptedException ie) { LOG.warn("Thread waiting on the child process (spark-submit) is interrupted, killing the child process.");