hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16376) Document implicit side-effects on partial results when calling Scan#setBatch(int)
Date Thu, 25 Aug 2016 12:59:21 GMT

    [ https://issues.apache.org/jira/browse/HBASE-16376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15436801#comment-15436801

Hudson commented on HBASE-16376:

FAILURE: Integrated in Jenkins build HBase-0.98-matrix #392 (See [https://builds.apache.org/job/HBase-0.98-matrix/392/])
Revert "HBASE-16376 Scan#setBatch(int) javadoc update WRT partial (apurtell: rev bc6b564fca5242f7a261301c83b7bfcddb85bbc2)
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java

> Document implicit side-effects on partial results when calling Scan#setBatch(int)
> ---------------------------------------------------------------------------------
>                 Key: HBASE-16376
>                 URL: https://issues.apache.org/jira/browse/HBASE-16376
>             Project: HBase
>          Issue Type: Task
>          Components: API, documentation
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Minor
>              Labels: beginner
>             Fix For: 2.0.0, 1.3.0, 1.4.0, 1.2.3, 1.1.7
>         Attachments: HBASE-16376.001.patch
> It was brought to my attention that the javadoc on {{Scan#setBatch(int)}} does not inform
the user that calling this method has the implicit side-effect that the user may see partial
> While the side-effect isn't necessarily surprising for developers who know how it's implemented,
but for API users, this might be a very jarring implication.
> We should update the documentation on {{Scan#setBatch(int)}} to inform users that they
may see partial results if they call this method (and perhaps refer them to the size-based
{{Scan#setMaxResultSize(long)}} too).

This message was sent by Atlassian JIRA

View raw message