You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "dhruba borthakur (Created) (JIRA)" <ji...@apache.org> on 2011/12/02 21:25:41 UTC

[jira] [Created] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Create a HRegion.getScanner public method that allows reading from a specified readPoint
----------------------------------------------------------------------------------------

                 Key: HBASE-4938
                 URL: https://issues.apache.org/jira/browse/HBASE-4938
             Project: HBase
          Issue Type: Improvement
            Reporter: dhruba borthakur
            Assignee: dhruba borthakur
            Priority: Minor


There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "Lars Hofhansl (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Hofhansl updated HBASE-4938:
---------------------------------

    Attachment: scannerMVCC1.txt

Attaching same file again to get a test run.
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>         Attachments: scannerMVCC1.txt, scannerMVCC1.txt, scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "Zhihong Yu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170611#comment-13170611 ] 

Zhihong Yu commented on HBASE-4938:
-----------------------------------

PreCommit build isn't running.
New patch needs to be attached.
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>         Attachments: scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175642#comment-13175642 ] 

Hudson commented on HBASE-4938:
-------------------------------

Integrated in HBase-TRUNK #2571 (See [https://builds.apache.org/job/HBase-TRUNK/2571/])
    HBASE-4938 Create a HRegion.getScanner public method that allows reading from a specified readPoint (Dhruba)

tedyu : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/IsolationLevel.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/Scan.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java

                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: scannerMVCC1.txt, scannerMVCC1.txt, scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "dhruba borthakur (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162676#comment-13162676 ] 

dhruba borthakur commented on HBASE-4938:
-----------------------------------------

Todd>> Instead, could this be an attribute of the scan, so we don't have to duplicate the number of method entry points?


I agree, that sounds like an elegant approach. Does anybody else in the community disagree with Todd's suggestion?
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "Lars Hofhansl (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Hofhansl updated HBASE-4938:
---------------------------------

    Status: Patch Available  (was: Open)
    
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>         Attachments: scannerMVCC1.txt, scannerMVCC1.txt, scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "dhruba borthakur (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dhruba borthakur updated HBASE-4938:
------------------------------------

    Status: Patch Available  (was: Open)

Submitting patch again, hoping that it will be picked up by committers and automatic build testing.
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>         Attachments: scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "dhruba borthakur (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164219#comment-13164219 ] 

dhruba borthakur commented on HBASE-4938:
-----------------------------------------

Lars: I implemented your proposal : https://reviews.facebook.net/D591
Please let me now if this looks ok to you.
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "Lars Hofhansl (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164207#comment-13164207 ] 

Lars Hofhansl commented on HBASE-4938:
--------------------------------------

+1
Let's not add another member to Scan, though, but use our new "rule" that Scan (and Get/Put) attributes beginning with _ are internal.
(I did this before to encode the cluster id for Puts in master-master replication scenarios, and for "raw" Scans that return delete markers and deleted rows).

                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "dhruba borthakur (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161840#comment-13161840 ] 

dhruba borthakur commented on HBASE-4938:
-----------------------------------------

Code changes here: https://reviews.facebook.net/D591

                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "Lars Hofhansl (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175297#comment-13175297 ] 

Lars Hofhansl commented on HBASE-4938:
--------------------------------------

+1 on latest patch attached (provided it passes tests).
I think I can use this for HBASE-4583.
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>         Attachments: scannerMVCC1.txt, scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "dhruba borthakur (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dhruba borthakur updated HBASE-4938:
------------------------------------

    Attachment: scannerMVCC1.txt

Attached patch from review.
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>         Attachments: scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "dhruba borthakur (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164964#comment-13164964 ] 

dhruba borthakur commented on HBASE-4938:
-----------------------------------------

Todd, thanks for asking. We have some application code running inside the regionserver. It atomically updates a row and maintains a count of the number of entries inside that row. The reason it is part of the region server code is because we need the 'count' updation to be atomic and performant read-modify-write. The code to read the previous value of the 'count' will invoke getScanner(scan, Long.Max_VALUE) so that it can read the most recent value of 'count' (even if the previous 'count' update is still in the process of getting committed). 
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "Zhihong Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhihong Yu updated HBASE-4938:
------------------------------

    Fix Version/s: 0.94.0
     Hadoop Flags: Reviewed

Integrated to TRUNK.

Thanks for the patch Dhruba.

Thanks for the review Lars and Todd.
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: scannerMVCC1.txt, scannerMVCC1.txt, scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "Zhihong Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhihong Yu updated HBASE-4938:
------------------------------

    Status: Open  (was: Patch Available)
    
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>         Attachments: scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "Zhihong Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhihong Yu updated HBASE-4938:
------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)
    
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: scannerMVCC1.txt, scannerMVCC1.txt, scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "Zhihong Yu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170980#comment-13170980 ] 

Zhihong Yu commented on HBASE-4938:
-----------------------------------

Hadoop Qa uses attachment Id to not rerun same attachment. 
That's why a new file has to be attached. 
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>         Attachments: scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "Zhihong Yu (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170980#comment-13170980 ] 

Zhihong Yu edited comment on HBASE-4938 at 12/16/11 2:08 PM:
-------------------------------------------------------------

Hadoop Qa checks attachment Id to not rerun same attachment. 
That's why a new file has to be attached. 
                
      was (Author: zhihyu@ebaysf.com):
    Hadoop Qa uses attachment Id to not rerun same attachment. 
That's why a new file has to be attached. 
                  
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>         Attachments: scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "Lars Hofhansl (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175604#comment-13175604 ] 

Lars Hofhansl commented on HBASE-4938:
--------------------------------------

So that looks pretty good. TestTableMapReduce and TestHFileOutputFormat are flaky.
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>         Attachments: scannerMVCC1.txt, scannerMVCC1.txt, scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "Zhihong Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhihong Yu updated HBASE-4938:
------------------------------

    Status: Patch Available  (was: Open)

Patch testing
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>         Attachments: scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "dhruba borthakur (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dhruba borthakur updated HBASE-4938:
------------------------------------

    Status: Open  (was: Patch Available)
    
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>         Attachments: scannerMVCC1.txt, scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "Zhihong Yu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13171165#comment-13171165 ] 

Zhihong Yu commented on HBASE-4938:
-----------------------------------

>From https://builds.apache.org/job/PreCommit-HBASE-Build/524/console:
{code}
FATAL: Unable to delete script file /tmp/hudson5668605335506439661.sh
hudson.util.IOException2: remote file operation failed: /tmp/hudson5668605335506439661.sh at hudson.remoting.Channel@b3df5d7:hadoop2
	at hudson.FilePath.act(FilePath.java:754)
	at hudson.FilePath.act(FilePath.java:740)
	at hudson.FilePath.delete(FilePath.java:995)
	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92)
	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
	at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:693)
	at hudson.model.Build$RunnerImpl.build(Build.java:178)
	at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:459)
	at hudson.model.Run.run(Run.java:1376)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:230)
Caused by: hudson.remoting.ChannelClosedException: channel is already closed
	at hudson.remoting.Channel.send(Channel.java:499)
{code}
Test suite didn't finish.
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>         Attachments: scannerMVCC1.txt, scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "dhruba borthakur (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dhruba borthakur updated HBASE-4938:
------------------------------------

    Status: Patch Available  (was: Open)
    
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>         Attachments: scannerMVCC1.txt, scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "dhruba borthakur (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161838#comment-13161838 ] 

dhruba borthakur commented on HBASE-4938:
-----------------------------------------

This is a very minor restarting of the code. We have some internal HRegion API that needs to scan based on a external readPoint. Of course, we could duplicate this piece of code from HRegion.java into our own code base, but in the spirit of making all our code changes compatible with Apache copen source, I would like to request the community to analyze this requested code change and approve of it. I will provide a patch.
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "dhruba borthakur (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dhruba borthakur updated HBASE-4938:
------------------------------------

    Status: Patch Available  (was: Open)

I have run all the unit tests for this one.
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "Andrew Purtell (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162815#comment-13162815 ] 

Andrew Purtell commented on HBASE-4938:
---------------------------------------


+1

                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "dhruba borthakur (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164214#comment-13164214 ] 

dhruba borthakur commented on HBASE-4938:
-----------------------------------------

Lars I will implement ur proposal, but I wish there was a more efficient way to have friend-relationships in Java, in which case we could have avoided inserting/looking up a map (for attribute) for each scan.
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "dhruba borthakur (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dhruba borthakur updated HBASE-4938:
------------------------------------

    Attachment: scannerMVCC1.txt

Attaching the same patch file again
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>         Attachments: scannerMVCC1.txt, scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "Lars Hofhansl (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Hofhansl updated HBASE-4938:
---------------------------------

    Status: Open  (was: Patch Available)
    
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>         Attachments: scannerMVCC1.txt, scannerMVCC1.txt, scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "dhruba borthakur (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185338#comment-13185338 ] 

dhruba borthakur commented on HBASE-4938:
-----------------------------------------

This patch seems to have been committed to trunk. Can somebody please mark it as Resolved? Or is there some step that needs to be done because of which the JIRA is kept open?
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: scannerMVCC1.txt, scannerMVCC1.txt, scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "dhruba borthakur (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dhruba borthakur updated HBASE-4938:
------------------------------------

    Status: Open  (was: Patch Available)
    
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>         Attachments: scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175669#comment-13175669 ] 

Hudson commented on HBASE-4938:
-------------------------------

Integrated in HBase-TRUNK-security #45 (See [https://builds.apache.org/job/HBase-TRUNK-security/45/])
    HBASE-4938 Create a HRegion.getScanner public method that allows reading from a specified readPoint (Dhruba)

tedyu : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/IsolationLevel.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/Scan.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java

                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: scannerMVCC1.txt, scannerMVCC1.txt, scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "dhruba borthakur (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169564#comment-13169564 ] 

dhruba borthakur commented on HBASE-4938:
-----------------------------------------

Hi Todd, can you pl take a peek at the latest patch that I uploaded?
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "dhruba borthakur (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168622#comment-13168622 ] 

dhruba borthakur commented on HBASE-4938:
-----------------------------------------

Todd: I uploaded a new version of the patch at https://reviews.facebook.net/D591

Create two isoloationlevels that can be used as part of a scan. If READ_UNCOMMITTED,
then the scan can read even uncommitted transactions.
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175603#comment-13175603 ] 

Hadoop QA commented on HBASE-4938:
----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12508563/scannerMVCC1.txt
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 javadoc.  The javadoc tool appears to have generated -152 warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    -1 findbugs.  The patch appears to introduce 77 new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

     -1 core tests.  The patch failed these unit tests:
                       org.apache.hadoop.hbase.mapred.TestTableMapReduce
                  org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/591//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/591//artifact/trunk/patchprocess/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/591//console

This message is automatically generated.
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>         Attachments: scannerMVCC1.txt, scannerMVCC1.txt, scannerMVCC1.txt
>
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4938) Create a HRegion.getScanner public method that allows reading from a specified readPoint

Posted by "Todd Lipcon (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164620#comment-13164620 ] 

Todd Lipcon commented on HBASE-4938:
------------------------------------

Dhruba, can you clarify a little more what the purpose of this change is? I didn't quite understand what you meant by "We have some internal HRegion API that needs to scan based on a external readPoint". You have some other non-HBase software which is using HBase's "storage engine" components?
                
> Create a HRegion.getScanner public method that allows reading from a specified readPoint
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4938
>                 URL: https://issues.apache.org/jira/browse/HBASE-4938
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>            Priority: Minor
>
> There is an existing api HRegion.getScanner(Scan) that allows scanning a table. My proposal is to extend it to HRegion.getScanner(Scan, long readPoint)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira