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

bulkLoadHFile API should ensure that rs has the source hfile's write permission

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 2.2.0, 2.0.3, 2.1.2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      If the rs bulk load a HFile but has no write permission of it, we can read & compact the hfile, but after the compaction finished, the HFile willl be moved to archive directory, the HFileCleaner won't has permission to delete, then the HFile will always be keep in HDFS.

      Need check the file's write permission when run bulkLoadHFile at server side, if no write permission, then reject.

        Attachments

        1. HBASE-21356.v1.patch
          9 kB
          Zheng Hu

          Issue Links

            Activity

              People

              • Assignee:
                openinx Zheng Hu
                Reporter:
                openinx Zheng Hu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: