Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EB545200AE1 for ; Mon, 6 Jun 2016 20:22:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E9934160A24; Mon, 6 Jun 2016 18:22:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3C1C4160A1E for ; Mon, 6 Jun 2016 20:22:22 +0200 (CEST) Received: (qmail 19424 invoked by uid 500); 6 Jun 2016 18:22:21 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 19402 invoked by uid 99); 6 Jun 2016 18:22:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2016 18:22:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EAE572C033A for ; Mon, 6 Jun 2016 18:22:20 +0000 (UTC) Date: Mon, 6 Jun 2016 18:22:20 +0000 (UTC) From: "Prasanth Jayachandran (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-13599) LLAP: Incorrect handling of the preemption queue on finishable state updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 06 Jun 2016 18:22:23 -0000 [ https://issues.apache.org/jira/browse/HIVE-13599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15316920#comment-15316920 ] Prasanth Jayachandran commented on HIVE-13599: ---------------------------------------------- LGTM, +1 > LLAP: Incorrect handling of the preemption queue on finishable state updates > ---------------------------------------------------------------------------- > > 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: Siddharth Seth > Priority: Critical > Attachments: HIVE-13599.01.patch, HIVE-13599.01.patch, HIVE-13599.02.patch > > > 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)