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 1FC79200AF7 for ; Tue, 14 Jun 2016 23:46:32 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1E556160A06; Tue, 14 Jun 2016 21:46:32 +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 671A1160A56 for ; Tue, 14 Jun 2016 23:46:31 +0200 (CEST) Received: (qmail 43600 invoked by uid 500); 14 Jun 2016 21:46:30 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 43521 invoked by uid 99); 14 Jun 2016 21:46:30 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2016 21:46:30 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 328DE2C1F68 for ; Tue, 14 Jun 2016 21:46:30 +0000 (UTC) Date: Tue, 14 Jun 2016 21:46:30 +0000 (UTC) From: "Sangjin Lee (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5070) upgrade HBase version for first merge MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 14 Jun 2016 21:46:32 -0000 [ https://issues.apache.org/jira/browse/YARN-5070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15330682#comment-15330682 ] Sangjin Lee commented on YARN-5070: ----------------------------------- Thanks [~vrushalic] for the updated patch! The patch looks good for the most part. I only have a couple of minor points. (FlowScanner.java) - The 2 constructors are essentially duplicates except for {{batchSize}}. How about having one constructor call the other to eliminate the duplication? For example, {code} FlowScanner(RegionCoprocessorEnvironment env, InternalScanner internalScanner, FlowScannerOperation action) { this(env, null, internalScanner, action); } FlowScanner(RegionCoprocessorEnvironment env, Scan incomingScan, InternalScanner internalScanner, FlowScannerOperation action) { this.batchSize = incomingScan == null ? -1 : incomingScan.getBatch(); ... } {code} - l.148, 160: it appears for {{ScannerContext}} that batch size of -1 would mean immediately reaching the limit? I'm looking at {{ScannerContext.checkBatchLimit()}}. We learned that these methods are not really exercised, but perhaps we can simply not set any batch limit to be on the safe side? > upgrade HBase version for first merge > ------------------------------------- > > Key: YARN-5070 > URL: https://issues.apache.org/jira/browse/YARN-5070 > Project: Hadoop YARN > Issue Type: Sub-task > Components: timelineserver > Affects Versions: YARN-2928 > Reporter: Sangjin Lee > Assignee: Vrushali C > Priority: Critical > Labels: yarn-2928-1st-milestone > Attachments: YARN-5070-YARN-2928.01.patch, YARN-5070-YARN-2928.02.patch, YARN-5070-YARN-2928.03.patch, YARN-5070-YARN-2928.04.patch, YARN-5070-YARN-2928.05.patch > > > Currently we set the HBase version for the timeline service storage to 1.0.1. This is a fairly old version, and there are reasons to upgrade to a newer version. We should upgrade it. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org