[
https://issues.apache.org/jira/browse/HBASE-22842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yi Mei updated HBASE-22842:
---------------------------
Description:
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.
was:
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:
{hbase-rootdir}/.tmp/data
{hbase-rootdir}/.tmp/data/\{namespace}
{hbase-rootdir}/.tmp/data/\{namespace}/\{table}
When master restart, it will delete tmp directory and this will break this
feature.
> 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)