[
https://issues.apache.org/jira/browse/HBASE-22842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16908662#comment-16908662
]
Yi Mei commented on HBASE-22842:
--------------------------------
Thanks [~openinx] for reviewing. Pushed to master and branch-2.
> Tmp directory should not be deleted when master restart used for user scan
> snapshot feature
> -------------------------------------------------------------------------------------------
>
> Key: HBASE-22842
> URL: https://issues.apache.org/jira/browse/HBASE-22842
> Project: HBase
> Issue Type: Sub-task
> Reporter: Yi Mei
> Priority: Major
>
> When create table, table directories are firstly created in tmp directory and
> then move to data directory. So HDFS ACLs are set at the following tmp
> directories used for ACLs inherited:
> {code:java}
> {hbase-rootdir}/.tmp/data
> {hbase-rootdir}/.tmp/data/{namespace}
> {hbase-rootdir}/.tmp/data/{namespace}/{table}
> {code}
> When master restart, it will delete tmp directory and this will break this
> feature.
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)