Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-9904

Solve skipping data in HTable scans

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.89-fb
    • 0.89-fb
    • Client
    • None
    • Reviewed

    Description

      The HTable client cannot retry a scan operation in the getRegionServerWithRetries code path.
      This will result in the client missing data. This can be worked around using hbase.client.retries.number to 1.

      The whole problem is that Callable knows nothing about retries and the protocol it dances to as well doesn't support retires.
      This fix will keep Callable protocol (ugly thing worth merciless refactoring) intact but will change
      ScannerCallable to anticipate retries. What we want is to make failed operations to be identities for outside world:
      N1 , N2 , F3 , N3 , F4 , F4 , N4 ... = N1 , N2 , N3 , N4 ...
      where Nk are successful operation and Fk are failed operations.

      Attachments

        1. TestScanRetries.java
          5 kB
          Jimmy Xiang
        2. scan.diff
          14 kB
          Manukranth Kolloju

        Activity

          People

            Unassigned Unassigned
            manukranthk Manukranth Kolloju
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: