[ 
https://issues.apache.org/jira/browse/HIVE-22861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ádám Szita updated HIVE-22861:
------------------------------
    Summary: Ptest TestExecutor thread doesn't handle InterruptedException 
properly  (was: Ptest TestExecturo thread doesn't handle InterruptedException 
properly)

> Ptest TestExecutor thread doesn't handle InterruptedException properly
> ----------------------------------------------------------------------
>
>                 Key: HIVE-22861
>                 URL: https://issues.apache.org/jira/browse/HIVE-22861
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ádám Szita
>            Assignee: Ádám Szita
>            Priority: Major
>
> Ptest was seen failing with:
> {code:java}
> 2020-02-06 22:05:23 INFO  [Thread-4] ExecutionController:110 - Shutdown hook 
> called
> 2020-02-06 22:05:23 INFO  [Thread-4] CloudExecutionContextProvider:268 - 
> Shutting down TerminationExecutor
> 2020-02-06 22:05:23 INFO  [Thread-4] CloudExecutionContextProvider:270 - 
> Closing CloudComputeService
> 2020-02-06 22:05:23 ERROR [TestExecutor] TestExecutor:149 - Unxpected Error
> java.lang.InterruptedException: null
>         at 
> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2017)
>  ~[?:1.7.0_221]
>         at 
> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2095)
>  ~[?:1.7.0_221]
>         at 
> java.util.concurrent.ArrayBlockingQueue.poll(ArrayBlockingQueue.java:389) 
> ~[?:1.7.0_221]
>         at 
> org.apache.hive.ptest.api.server.TestExecutor.run(TestExecutor.java:85) 
> [classes/:?]
> 2020-02-06 22:05:24 INFO  [localhost-startStop-2] 
> XmlWebApplicationContext:1048 - Closing WebApplicationContext for namespace 
> 'Spring MVC Dispatcher Servlet-servlet': startup date [Wed Dec 18 13:27:40 
> UTC 2019]; parent: Root WebApplicationContext
> 2020-02-06 22:05:24 INFO  [localhost-startStop-2] 
> DefaultListableBeanFactory:444 - Destroying singletons in 
> org.springframework.beans.factory.support.DefaultListableBeanFactory@19724e3f:
>  defining beans []; parent: 
> org.springframework.beans.factory.support.DefaultListableBeanFactory@69705cd8
> 2020-02-06 22:05:24 INFO  [localhost-startStop-2] 
> XmlWebApplicationContext:1048 - Closing Root WebApplicationContext: startup 
> date [Wed Dec 18 13:27:31 UTC 2019]; root of context hierarchy
>  {code}
> ..indicating that whenever there's an interrupt on the TestExecutor thread 
> Ptest shuts down and doesn't try to recover.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to