XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • Client, Scanners
    • None
    • Reviewed

    Description

      See enis's comment in HBASE-16838

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

      But there is another scenario that we need small scan is that, we do not know the stop row but we only want a small set of results. For example, in the implementation of region locator, we will use small scan and set caching to 1 as we only need one row.

      So I think we need to add a new option(maybe called limit?) for the scan object, and deprecate the small option. And the server side modification should also be committed to branch-1 to simplify the logic of async client in 2.0.

      Attachments

        1. HBASE-17045.patch
          133 kB
          Duo Zhang
        2. HBASE-17045-v1.patch
          135 kB
          Duo Zhang
        3. HBASE-17045-v2.patch
          135 kB
          Duo Zhang
        4. HBASE-17045-v3.patch
          147 kB
          Duo Zhang
        5. HBASE-17045-v4.patch
          150 kB
          Duo Zhang
        6. HBASE-17045-v5.patch
          194 kB
          Duo Zhang
        7. HBASE-17405-v6.patch
          138 kB
          Duo Zhang
        8. HBASE-17045-v7.patch
          138 kB
          Duo Zhang
        9. HBASE-17045-v8.patch
          143 kB
          Duo Zhang

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: