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 DB9A3200BBE for ; Fri, 7 Oct 2016 00:08:28 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DA6D1160ADB; Thu, 6 Oct 2016 22:08:28 +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 2C2C2160AE0 for ; Fri, 7 Oct 2016 00:08:28 +0200 (CEST) Received: (qmail 51576 invoked by uid 500); 6 Oct 2016 22:08:21 -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 51355 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 BC8EA2C0D54 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:29 -0000 [ https://issues.apache.org/jira/browse/DRILL-4841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15553345#comment-15553345 ] 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_r82269228 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/auth/DrillUserPrincipal.java --- @@ -118,8 +118,11 @@ public AnonDrillUserPrincipal(final DrillbitContext drillbitContext) { public DrillClient getDrillClient() throws IOException { try { // Create a DrillClient - drillClient = new DrillClient(drillbitContext.getConfig(), - drillbitContext.getClusterCoordinator(), drillbitContext.getAllocator()); + drillClient = DrillClient.newBuilder() --- End diff -- Is the context something we should expose as part of our changes: DrillbitContext context = ... DrillClient client = DrillClient.builder( ) .fromContext( context ) .build( ); Doing the above might simplify test code. > 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)