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 39766200D09 for ; Tue, 12 Sep 2017 20:57:02 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 368181609C7; Tue, 12 Sep 2017 18:57:02 +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 54B3E1609B4 for ; Tue, 12 Sep 2017 20:57:01 +0200 (CEST) Received: (qmail 74776 invoked by uid 500); 12 Sep 2017 18:56:59 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 74765 invoked by uid 99); 12 Sep 2017 18:56:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Sep 2017 18:56:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 55A101A50C7; Tue, 12 Sep 2017 18:56:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.201 X-Spam-Level: **** X-Spam-Status: No, score=4.201 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, NML_ADSP_CUSTOM_MED=1.2, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id APqtZsbFs2tv; Tue, 12 Sep 2017 18:56:56 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 8987B5FDBC; Tue, 12 Sep 2017 18:56:55 +0000 (UTC) Received: from reviews.apache.org (unknown [10.41.0.12]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 2704EE010F; Tue, 12 Sep 2017 18:56:55 +0000 (UTC) Received: from reviews-vm2.apache.org (localhost [IPv6:::1]) by reviews.apache.org (ASF Mail Server at reviews-vm2.apache.org) with ESMTP id 43183C40461; Tue, 12 Sep 2017 18:56:53 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3843057965943136436==" MIME-Version: 1.0 Subject: Re: Review Request 62091: HIVE-17386 support LLAP workload management in HS2 (low level only) From: Zhiyuan Yang To: Zhiyuan Yang , Gunther Hagleitner , Siddharth Seth Cc: Sergey Shelukhin , hive Date: Tue, 12 Sep 2017 18:56:53 -0000 Message-ID: <20170912185653.5242.79153@reviews-vm2.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Zhiyuan Yang X-ReviewGroup: hive X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/62091/ X-Sender: Zhiyuan Yang References: <20170905185300.63444.87829@reviews-vm2.apache.org> In-Reply-To: <20170905185300.63444.87829@reviews-vm2.apache.org> X-ReviewBoard-Diff-For: ql/src/java/org/apache/hadoop/hive/ql/exec/tez/WmTezSession.java X-ReviewBoard-Diff-For: ql/src/java/org/apache/hadoop/hive/ql/exec/tez/GuaranteedTasksAllocator.java X-ReviewBoard-Diff-For: ql/src/java/org/apache/hadoop/hive/ql/exec/tez/LlapPluginEndpointClient.java X-ReviewBoard-Diff-For: ql/src/java/org/apache/hadoop/hive/ql/exec/tez/LlapPluginEndpointClientImpl.java X-ReviewBoard-Diff-For: ql/src/test/org/apache/hadoop/hive/ql/exec/tez/TestWorkloadManager.java X-ReviewBoard-Diff-For: ql/src/test/org/apache/hadoop/hive/ql/exec/tez/TestGuaranteedTaskAllocator.java X-ReviewBoard-Diff-For: ql/src/java/org/apache/hadoop/hive/ql/exec/tez/QueryAllocationManager.java X-ReviewBoard-Diff-For: ql/src/java/org/apache/hadoop/hive/ql/exec/tez/WorkloadManager.java Reply-To: Zhiyuan Yang X-ReviewRequest-Repository: hive-git archived-at: Tue, 12 Sep 2017 18:57:02 -0000 --===============3843057965943136436== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62091/#review185018 ----------------------------------------------------------- common/src/java/org/apache/hadoop/hive/conf/HiveConf.java Lines 2385-2386 (patched) Should mention setting this conf means enable workload management ql/src/java/org/apache/hadoop/hive/ql/exec/tez/GuaranteedTasksAllocator.java Lines 101-106 (patched) Why is this here given it's already a daemon thread ql/src/java/org/apache/hadoop/hive/ql/exec/tez/GuaranteedTasksAllocator.java Lines 147 (patched) Additional define statement will be better. ql/src/java/org/apache/hadoop/hive/ql/exec/tez/GuaranteedTasksAllocator.java Lines 191 (patched) How would AM registry help in AM recovery? If that's not the case, this piece means any update during AM failure & recovery will fail the session, which make AM recovery in vain. ql/src/java/org/apache/hadoop/hive/ql/exec/tez/GuaranteedTasksAllocator.java Lines 201-215 (patched) You are really determined to knock out that field... ql/src/java/org/apache/hadoop/hive/ql/exec/tez/LlapPluginEndpointClientImpl.java Lines 61 (patched) git apply complains HIVE-17386.02.patch:1162: trailing whitespace. } warning: 1 line adds whitespace errors. ql/src/java/org/apache/hadoop/hive/ql/exec/tez/WorkloadManager.java Lines 220 (patched) Wrong log message service/src/java/org/apache/hive/service/server/HiveServer2.java Lines 169 (patched) Where is the code that really put this wm instance in use? Additional jira? - Zhiyuan Yang On Sept. 5, 2017, 6:52 p.m., Sergey Shelukhin wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/62091/ > ----------------------------------------------------------- > > (Updated Sept. 5, 2017, 6:52 p.m.) > > > Review request for hive, Zhiyuan Yang, Gunther Hagleitner, and Siddharth Seth. > > > Repository: hive-git > > > Description > ------- > > see jira > > > Diffs > ----- > > common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 6de07d2e76 > itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java b3677322ca > llap-client/src/java/org/apache/hadoop/hive/llap/tez/LlapProtocolClientProxy.java b6501842e8 > llap-client/src/test/org/apache/hadoop/hive/llap/TestAsyncPbRpcProxy.java 1c4f0e7a09 > llap-common/src/java/org/apache/hadoop/hive/llap/AsyncPbRpcProxy.java 7726794fea > llap-common/src/java/org/apache/hadoop/hive/llap/impl/LlapPluginProtocolClientImpl.java 19e81e6fa5 > llap-common/src/java/org/apache/hadoop/hive/llap/impl/ProtobufProxy.java fa99536bea > llap-common/src/protobuf/LlapPluginProtocol.proto 39349b119d > llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/LlapTaskSchedulerService.java cf8bd469dc > llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/endpoint/LlapPluginServerImpl.java f3c0d5213f > ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ExecDriver.java 93a36c612d > ql/src/java/org/apache/hadoop/hive/ql/exec/tez/GuaranteedTasksAllocator.java PRE-CREATION > ql/src/java/org/apache/hadoop/hive/ql/exec/tez/LlapPluginEndpointClient.java PRE-CREATION > ql/src/java/org/apache/hadoop/hive/ql/exec/tez/LlapPluginEndpointClientImpl.java PRE-CREATION > ql/src/java/org/apache/hadoop/hive/ql/exec/tez/QueryAllocationManager.java PRE-CREATION > ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionPool.java 4f58565a4c > ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionPoolManager.java 1f4705c083 > ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionPoolSession.java 005eeedc02 > ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionState.java fe5c6a1e45 > ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezTask.java f1f10286a3 > ql/src/java/org/apache/hadoop/hive/ql/exec/tez/WmTezSession.java PRE-CREATION > ql/src/java/org/apache/hadoop/hive/ql/exec/tez/WorkloadManager.java PRE-CREATION > ql/src/java/org/apache/hadoop/hive/ql/exec/tez/monitoring/TezJobMonitor.java 9e2846ca6c > ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/LlapClusterStateForCompile.java 7a02a563e9 > ql/src/test/org/apache/hadoop/hive/ql/exec/tez/SampleTezSessionState.java 973c0cc630 > ql/src/test/org/apache/hadoop/hive/ql/exec/tez/TestGuaranteedTaskAllocator.java PRE-CREATION > ql/src/test/org/apache/hadoop/hive/ql/exec/tez/TestTezSessionPool.java d2b98c46ca > ql/src/test/org/apache/hadoop/hive/ql/exec/tez/TestWorkloadManager.java PRE-CREATION > service/src/java/org/apache/hive/service/server/HiveServer2.java e5f449122b > > > Diff: https://reviews.apache.org/r/62091/diff/2/ > > > Testing > ------- > > > Thanks, > > Sergey Shelukhin > > --===============3843057965943136436==--