[
https://issues.apache.org/jira/browse/HIVE-15731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15839154#comment-15839154
]
Hive QA commented on HIVE-15731:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12849387/HIVE-15731.01.patch
{color:red}ERROR:{color} -1 due to no test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 7 failed/errored test(s), 10999 tests
executed
*Failed tests:*
{noformat}
TestDerbyConnector - did not produce a TEST-*.xml file (likely timed out)
(batchId=235)
org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver[encryption_join_with_different_encryption_keys]
(batchId=159)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[schema_evol_text_vec_part]
(batchId=149)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_char_simple]
(batchId=147)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_varchar_simple]
(batchId=153)
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainuser_3]
(batchId=93)
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query23]
(batchId=223)
{noformat}
Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/3186/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/3186/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-3186/
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: 7 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12849387 - PreCommit-HIVE-Build
> sessions are not returned to the sessionPool in case of an interrupt
> --------------------------------------------------------------------
>
> Key: HIVE-15731
> URL: https://issues.apache.org/jira/browse/HIVE-15731
> Project: Hive
> Issue Type: Bug
> Reporter: Siddharth Seth
> Assignee: Siddharth Seth
> Priority: Critical
> Attachments: HIVE-15731.01.patch
>
>
> While returning a session to the pool, the interrupt status on the thread
> seems to be set, which causes the pool return to fail.
> The session slot is useless at this point. A HS2 instance configured for a
> single session will stop running queries.
> {code}
> 2017-01-25T01:21:02,803 ERROR [HiveServer2-Background-Pool: Thread-117]:
> exec.Task (TezTask.java:execute(210)) - Failed to execute tez graph.
> java.lang.InterruptedException
> at
> java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1220)
> ~[?:1.8.0_77]
> at
> java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:335)
> ~[?:1.8.0_77]
> at java.util.concurrent.ArrayBlockingQueue.put(ArrayBlockingQueue.java:350)
> ~[?:1.8.0_77]
> at
> org.apache.hadoop.hive.ql.exec.tez.TezSessionPoolManager.returnSession(TezSessionPoolManager.java:337)
> ~[hive-exec-2.1.jar:2.1]
> at org.apache.hadoop.hive.ql.exec.tez.TezTask.execute(TezTask.java:196)
> [hive-exec-2.1.jar:2.1]
> at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:197)
> [hive-exec-2.1.jar:2.1]
> at
> org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:100)
> [hive-exec-2.1.jar:2.1]
> at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1874)
> [hive-exec-2.1.jar:2.1]
> at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1578)
> [hive-exec-2.1.jar:2.1]
> at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1329)
> [hive-exec-2.1.jar:2.1]
> at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1098)
> [hive-exec-2.1.jar:2.1]
> at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1091)
> [hive-exec-2.1.jar:2.1]
> at
> org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:242)
> [hive-service-2.1.jar:2.1]
> at
> org.apache.hive.service.cli.operation.SQLOperation.access$800(SQLOperation.java:91)
> [hive-service-2.1.jar:2.1]
> at
> org.apache.hive.service.cli.operation.SQLOperation$BackgroundWork$1.run(SQLOperation.java:334)
> [hive-service-2.1.jar:2.1]
> at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_77]
> at javax.security.auth.Subject.doAs(Subject.java:422) [?:1.8.0_77]
> at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1724)
> [hadoop-common-2.7.3.2.6.0.0-389.jar:?]
> at
> org.apache.hive.service.cli.operation.SQLOperation$BackgroundWork.run(SQLOperation.java:347)
> [hive-service-2.1.jar:2.1]
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> [?:1.8.0_77]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_77]
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> [?:1.8.0_77]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_77]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [?:1.8.0_77]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [?:1.8.0_77]
> at java.lang.Thread.run(Thread.java:745) [?:1.8.0_77]
> 2017-01-25T01:21:02,803 INFO [e208c68c-f502-4c9d-a7b1-f3e7dd8b9447
> HiveServer2-Handler-Pool: Thread-99]: session.SessionState
> (SessionState.java:resetThreadName(428))
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)