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

Bulk load cleanup may falsely deem file deletion successful

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0, 2.0.0-alpha-3, 2.0.0
    • None
    • None
    • Reviewed

    Description

      Toward the cleanupBulkLoad() method:

          fs.delete(new Path(request.getBulkToken()), true);
      

      The return value from delete() call is ignore, potentially leading to file lying around after the cleanup.

      This applies to all branches.
      Discovered when investigating bulk load test failure.

      Attachments

        1. HBASE-18801.master.003.patch
          1 kB
          Reid Chan
        2. HBASE-18801.master.002.patch
          1 kB
          Reid Chan
        3. HBASE-18801.master.001.patch
          1 kB
          Reid Chan
        4. HBASE-18801.branch-1.001.patch
          1 kB
          Reid Chan

        Activity

          People

            reidchan Reid Chan
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: