Zheng Hu created HBASE-21356:
--------------------------------

             Summary: bulkLoadHFile API should ensure that rs has the source 
hfile's write permission
                 Key: HBASE-21356
                 URL: https://issues.apache.org/jira/browse/HBASE-21356
             Project: HBase
          Issue Type: Bug
            Reporter: Zheng Hu
            Assignee: Zheng Hu


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to