[ https://issues.apache.org/jira/browse/HIVE-16593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16002387#comment-16002387 ]
Hive QA commented on HIVE-16593: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12867046/HIVE-16593.1.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 10655 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestAccumuloCliDriver.testCliDriver[accumulo_queries] (batchId=226) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[parquet_ppd_decimal] (batchId=9) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_if_expr] (batchId=143) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/5131/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/5131/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-5131/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 3 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12867046 - PreCommit-HIVE-Build > SparkClientFactory.stop may prevent JVM from exiting > ---------------------------------------------------- > > Key: HIVE-16593 > URL: https://issues.apache.org/jira/browse/HIVE-16593 > Project: Hive > Issue Type: Bug > Components: Spark > Reporter: Rui Li > Assignee: Rui Li > Attachments: HIVE-16593.1.patch > > > When we receive SIGINT more than once, we call System.exit to terminate the > JVM. System.exit runs the shutdown hooks which in turn calls > SparkClientFactory.stop. All the methods in SparkClientFactory are > synchronized and at this point, we may be waiting to create a SparkClientImpl > in SparkClientFactory.createClient. Therefore SparkClientFactory.stop will be > blocked until SparkClientFactory.createClient returns. > The reason why we may be waiting to create SparkClientImpl is usually to wait > for RemoteDriver to connect. If RemoteDriver runs into problem, the JVM won't > exit until we timeout. -- This message was sent by Atlassian JIRA (v6.3.15#6346)