You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Yi Mei (JIRA)" <ji...@apache.org> on 2019/06/13 12:07:00 UTC

[jira] [Created] (HBASE-22578) HFileCleaner should not delete empty ns/table directories used for user san snapshot feature

Yi Mei created HBASE-22578:
------------------------------

             Summary: HFileCleaner should not delete empty ns/table directories used for user san snapshot feature
                 Key: HBASE-22578
                 URL: https://issues.apache.org/jira/browse/HBASE-22578
             Project: HBase
          Issue Type: Sub-task
            Reporter: Yi Mei


HBASE-21995 add a coprocessor to set HDFS acls for HBase users who own HBase read permission to mask users have the ability to scan snapshot directly.

It creates empty directories for namespace and table under archive directory and set HDFS acls to these directories after namespace or table is created, in this way, users can read files under archive directory.

But the HFileCleaner will delete empty directories and this will break this feature. So if the user scan snapshot feature is enabled, HFileCleaner should not delete empty ns/table directories.



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