hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joep Rottinghuis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5070) upgrade HBase version for first merge
Date Thu, 09 Jun 2016 04:22:21 GMT

    [ https://issues.apache.org/jira/browse/YARN-5070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15321855#comment-15321855
] 

Joep Rottinghuis commented on YARN-5070:
----------------------------------------

I have to set up my environment with HBase 1.1 to fully see this, but is circumventing the
package private visibility of limits the recommended way to do this?
{code}
Field limitsField = ScannerContext.class.getDeclaredField("limits");
{code}
It seems that the "documented way"
{code}
Once a limit has been reached, the scan will stop. The invoker of InternalScanner.next(java.util.List)
or InternalScanner.next(java.util.List) can use the appropriate check*Limit methods to see
exactly which limits have been reached. Alternatively, checkAnyLimitReached(LimitScope) is
provided to see if ANY limit was reached 
{code}
indicates that #checkBatchLimit(ScannerContext.LimitScope checkerScope) should be used. Unfortunately
that also appears to be package private.
Starting to read HBASE-11544 to see if that provides any clues as to recommended way to do
this.
Perhaps time to ask one of the HBase gurus for a pointer in the right direction?

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


Mime
View raw message