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)

Reply via email to