hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sangjin Lee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5070) upgrade HBase version for first merge
Date Tue, 14 Jun 2016 21:46:30 GMT

    [ 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.

- The 2 constructors are essentially duplicates except for {{batchSize}}. How about having
one constructor call the other to eliminate the duplication? For example,
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();
- 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

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message