[
https://issues.apache.org/jira/browse/HBASE-25611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Somogyi updated HBASE-25611:
----------------------------------
Fix Version/s: 2.4.2
2.3.5
2.5.0
2.2.7
3.0.0-alpha-1
Resolution: Fixed
Status: Resolved (was: Patch Available)
Pushed to branch-2.2+. Branch-1 is unaffected. Thanks for the review
[~wchevreuil].
> ExportSnapshot chmod 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
> Priority: Major
> Fix For: 3.0.0-alpha-1, 2.2.7, 2.5.0, 2.3.5, 2.4.2
>
>
> ExportSnapshot reads the chmod flag as a decimal value. In HBase 1 the value
> is handled as octal as an operator expects it.
> As an example -chmod 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)