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

The ClientSimpleScanner keeps retrying if the hfile is corrupt or cannot found

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0, 2.0.0
    • regionserver, Scanners
    • None
    • Reviewed

    Description

      In RsRPCServices.scan, most of IOE are thrown as a ScannerResetException, even when the hfile is corrupt or it cannot be found. The ClientScannr.loadCache will keep retrying when the exception is ScannerResetException. We could throw CorruptHFileException and FileNotFoundException directly from server and don't retry the scan in the client.

      Attachments

        1. HBASE-17095-branch-1.patch
          6 kB
          Jingcheng Du
        2. HBASE-17095-V2.patch
          6 kB
          Jingcheng Du
        3. HBASE-17095.patch
          6 kB
          Jingcheng Du
        4. TestScannerWithCorruptHFile.java
          4 kB
          Jingcheng Du

        Activity

          People

            jingcheng.du@intel.com Jingcheng Du
            jingcheng.du@intel.com Jingcheng Du
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: