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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.2.0, 2.0.3, 2.1.2
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: