hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-13599) LLAP: Race condition when wait queue pre-emption is enabled
Date Sun, 24 Apr 2016 05:06:12 GMT
Prasanth Jayachandran created HIVE-13599:
--------------------------------------------

             Summary: LLAP: Race condition when wait queue pre-emption is enabled
                 Key: HIVE-13599
                 URL: https://issues.apache.org/jira/browse/HIVE-13599
             Project: Hive
          Issue Type: Bug
          Components: llap
    Affects Versions: 2.1.0
            Reporter: Prasanth Jayachandran
            Assignee: Prasanth Jayachandran


When running some tests with pre-emption enabled, got the following exception

Looks like a race condition when removing items from pre-emption queue.
{code}
16/04/23 23:32:00 [Wait-Queue-Scheduler-0[]] ERROR impl.TaskExecutorService : Wait queue scheduler
worker exited with failure!
java.util.NoSuchElementException
        at java.util.AbstractQueue.remove(AbstractQueue.java:117) ~[?:1.7.0_55]
        at org.apache.hadoop.hive.llap.daemon.impl.TaskExecutorService.removeAndGetFromPreemptionQueue(TaskExecutorService.java:568)
~[hive-llap-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at org.apache.hadoop.hive.llap.daemon.impl.TaskExecutorService.handleScheduleAttemptedRejection(TaskExecutorService.java:493)
~[hive-llap-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at org.apache.hadoop.hive.llap.daemon.impl.TaskExecutorService.access$1100(TaskExecutorService.java:81)
~[hive-llap-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at org.apache.hadoop.hive.llap.daemon.impl.TaskExecutorService$WaitQueueWorker.run(TaskExecutorService.java:285)
~[hive-llap-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[?:1.7.0_55]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_55]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[?:1.7.0_55]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[?:1.7.0_55]
        at java.lang.Thread.run(Thread.java:745) [?:1.7.0_55]
16/04/23 23:32:00 [Wait-Queue-Scheduler-0[]] INFO impl.LlapDaemon : UncaughtExceptionHandler
invoked
16/04/23 23:32:00 [Wait-Queue-Scheduler-0[]] ERROR impl.LlapDaemon : Thread Thread[Wait-Queue-Scheduler-0,5,main]
threw an Exception. Shutting down now...
java.util.NoSuchElementException
        at java.util.AbstractQueue.remove(AbstractQueue.java:117) ~[?:1.7.0_55]
        at org.apache.hadoop.hive.llap.daemon.impl.TaskExecutorService.removeAndGetFromPreemptionQueue(TaskExecutorService.java:568)
~[hive-llap-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at org.apache.hadoop.hive.llap.daemon.impl.TaskExecutorService.handleScheduleAttemptedRejection(TaskExecutorService.java:493)
~[hive-llap-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at org.apache.hadoop.hive.llap.daemon.impl.TaskExecutorService.access$1100(TaskExecutorService.java:81)
~[hive-llap-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at org.apache.hadoop.hive.llap.daemon.impl.TaskExecutorService$WaitQueueWorker.run(TaskExecutorService.java:285)
~[hive-llap-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[?:1.7.0_55]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_55]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[?:1.7.0_55]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[?:1.7.0_55]
        at java.lang.Thread.run(Thread.java:745) [?:1.7.0_55]
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message