Return-Path: X-Original-To: apmail-drill-dev-archive@www.apache.org Delivered-To: apmail-drill-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B9722185B5 for ; Tue, 30 Jun 2015 20:24:44 +0000 (UTC) Received: (qmail 2148 invoked by uid 500); 30 Jun 2015 20:24:44 -0000 Delivered-To: apmail-drill-dev-archive@drill.apache.org Received: (qmail 2102 invoked by uid 500); 30 Jun 2015 20:24:44 -0000 Mailing-List: contact dev-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list dev@drill.apache.org Received: (qmail 2085 invoked by uid 500); 30 Jun 2015 20:24:44 -0000 Delivered-To: apmail-incubator-drill-dev@incubator.apache.org Received: (qmail 2077 invoked by uid 99); 30 Jun 2015 20:24:44 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jun 2015 20:24:44 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 6FFBEAC572; Tue, 30 Jun 2015 20:24:42 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============0596284490778393657==" MIME-Version: 1.0 Subject: Re: Review Request 34603: DRILL-3167: When a query fails, Foreman should wait for all fragments to finish cleaning up before sending a FAILED state to the client From: "Sudheesh Katkam" To: "Jacques Nadeau" , "Sudheesh Katkam" , "Jason Altekruse" Cc: "abdelhakim deneche" , "drill" Date: Tue, 30 Jun 2015 20:24:42 -0000 Message-ID: <20150630202442.13307.22503@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Sudheesh Katkam" X-ReviewGroup: drill-git X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/34603/ X-Sender: "Sudheesh Katkam" References: <20150630192944.13307.54378@reviews.apache.org> In-Reply-To: <20150630192944.13307.54378@reviews.apache.org> Reply-To: "Sudheesh Katkam" X-ReviewRequest-Repository: drill-git --===============0596284490778393657== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On June 30, 2015, 7:29 p.m., Sudheesh Katkam wrote: > > exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/QueryManager.java, line 158 > > > > > > Not required? We already log the status QueryManager#fragmentStatusListener > > abdelhakim deneche wrote: > not when it's called from QueryManager.SignalListener In that case, we know exactly what the status is #getFailedStatus :) And there are error and warn logs. (comment in the right place) - Sudheesh ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34603/#review89946 ----------------------------------------------------------- On June 30, 2015, 6:37 p.m., abdelhakim deneche wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/34603/ > ----------------------------------------------------------- > > (Updated June 30, 2015, 6:37 p.m.) > > > Review request for drill, Jacques Nadeau, Jason Altekruse, and Sudheesh Katkam. > > > Bugs: DRILL-3167 > https://issues.apache.org/jira/browse/DRILL-3167 > > > Repository: drill-git > > > Description > ------- > > - In case of a failure the Foreman will cancel all fragments and move to a FAILING state until all fragments are terminated > - QueryManager.cancelExecutingFragments() returns false if no fragment available > - Web UI still displays FAILED when Foreman state is FAILING > > > Diffs > ----- > > exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/profile/ProfileResources.java 6656bf6 > exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/profile/ProfileWrapper.java dd26a76 > exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/ControlMessageHandler.java 9f302a2 > exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/Foreman.java 716fb66 > exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/QueryManager.java 9318233 > exec/java-exec/src/main/resources/rest/profile/list.ftl cf92ede > exec/java-exec/src/main/resources/rest/profile/profile.ftl 46cdc83 > protocol/src/main/java/org/apache/drill/exec/proto/UserBitShared.java e76d748 > protocol/src/main/java/org/apache/drill/exec/proto/beans/QueryResult.java 474e330 > protocol/src/main/protobuf/UserBitShared.proto 0451fd2 > > Diff: https://reviews.apache.org/r/34603/diff/ > > > Testing > ------- > > unit tests are passing > > > Thanks, > > abdelhakim deneche > > --===============0596284490778393657==--