You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Peter Somogyi (Jira)" <ji...@apache.org> on 2021/03/01 11:17:00 UTC

[jira] [Work started] (HBASE-25611) ExportSnapshot chown flag uses value as decimal

     [ https://issues.apache.org/jira/browse/HBASE-25611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HBASE-25611 started by Peter Somogyi.
---------------------------------------------
> 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
>            Priority: Major
>
> 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)