Peter Somogyi created HBASE-25611:
-------------------------------------
Summary: ExportSnapshot chown flag uses value as decimal
Key: HBASE-25611
URL: https://issues.apache.org/jira/browse/HBASE-25611
Project: HBase
Issue Type: Bug
Affects Versions: 2.0.0
Reporter: Peter Somogyi
Assignee: Peter Somogyi
ExportSnapshot reads the chown flag as a decimal value. In HBase 1 the value is
handled as octal as an operator expects it.
As an example -chown 755 will result in the following permission:
{noformat}
--wxrw--wt 3 hbase hbase 13314534 2021-02-25 12:38
/tmp/chmod755/archive/data/default/cluster_test/045e4c368075d2c6d947cba7140c443a/test_cf/f7d5156d44974e7da8c983f08512f6a0
{noformat}
This bug was introduced in HBase 2.0.0 with the migration to Apache CLI.
Workaround: Use the decimal representation. 755 -> 493
--
This message was sent by Atlassian Jira
(v8.3.4#803005)