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

[bulk load] the HBASE-4552 API can't tell if errors on region server are recoverable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.92.0
    • 0.92.0
    • None
    • None
    • Default value for hbase.bulkload.retries.number is 0, meaning bulk load would never give up.

    Description

      Running TestHFileOutputFormat more frequently seems to show that it has become flaky. It is difficult to tell if this is because of a unrecoverable failure or a recoverable failure. To make this visiable from test and for users, we need to make a change to bulkload call's interface on HRegionServer. The change should make successful rpcs return true, recoverable failures return false, and unrecoverable failure throw an IOException. This is an RPC change, so it would be really good to get this api right before the final 0.92 goes out.

      Attachments

        1. 0001-HBASE-4740-bulkload-HBASE-4552-API-can-t-tell-if-err.patch
          26 kB
          Jonathan Hsieh
        2. hbase-4740.v2.patch
          26 kB
          Jonathan Hsieh
        3. 4740.v3
          26 kB
          Ted Yu

        Activity

          People

            jmhsieh Jonathan Hsieh
            jmhsieh Jonathan Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: