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 021B5200BBF for ; Fri, 7 Oct 2016 00:08:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 00976160AE0; Thu, 6 Oct 2016 22:08:25 +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 28A9D160AEE for ; Fri, 7 Oct 2016 00:08:23 +0200 (CEST) Received: (qmail 51832 invoked by uid 500); 6 Oct 2016 22:08:22 -0000 Mailing-List: contact issues-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 issues@drill.apache.org Received: (qmail 51411 invoked by uid 99); 6 Oct 2016 22:08:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2016 22:08:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C66C62C0088 for ; Thu, 6 Oct 2016 22:08:21 +0000 (UTC) Date: Thu, 6 Oct 2016 22:08:21 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-4841) Use user server event loop group for web clients MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 06 Oct 2016 22:08:25 -0000 [ https://issues.apache.org/jira/browse/DRILL-4841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15553350#comment-15553350 ] ASF GitHub Bot commented on DRILL-4841: --------------------------------------- Github user paul-rogers commented on a diff in the pull request: https://github.com/apache/drill/pull/565#discussion_r82269525 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestDistributedFragmentRun.java --- @@ -41,7 +41,11 @@ public void oneBitOneExchangeOneEntryRun() throws Exception{ RemoteServiceSet serviceSet = RemoteServiceSet.getLocalServiceSet(); - try(Drillbit bit1 = new Drillbit(CONFIG, serviceSet); DrillClient client = new DrillClient(CONFIG, serviceSet.getCoordinator());){ + try(Drillbit bit1 = new Drillbit(CONFIG, serviceSet); --- End diff -- This pattern show up over and over. Should it just be moved into a function rather than as a duplicated "code injection" in a zillion files? > Use user server event loop group for web clients > ------------------------------------------------ > > Key: DRILL-4841 > URL: https://issues.apache.org/jira/browse/DRILL-4841 > Project: Apache Drill > Issue Type: Improvement > Components: Client - HTTP > Reporter: Sudheesh Katkam > Assignee: Sorabh Hamirwasia > Priority: Minor > > Currently we spawn an event loop group for handling requests from clients. This group should also be used to handles responses (from server) for web clients. -- This message was sent by Atlassian JIRA (v6.3.4#6332)