You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Peter Somogyi (Jira)" <ji...@apache.org> on 2019/11/18 13:53:00 UTC
[jira] [Created] (HBASE-23311) Check file permission before
modifying it
Peter Somogyi created HBASE-23311:
-------------------------------------
Summary: Check file permission before modifying it
Key: HBASE-23311
URL: https://issues.apache.org/jira/browse/HBASE-23311
Project: HBase
Issue Type: Improvement
Reporter: Peter Somogyi
On MasterFileSystem initialization the permission is set to 600 for hbase.version and hbase.id files even if that was the actual permission for these files.
We could check this and only set the permission to 600 if needed.
[https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java#L177-L180]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)