[ https://issues.apache.org/jira/browse/HBASE-4680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Helmling updated HBASE-4680: --------------------------------- Summary: FSUtils.isInSafeMode() checks should operate on HBase root dir, where we have permissions (was: FSUtils.isInSafeMode() requires superuser privileges when HDFS permissions checking enabled) Clarified title for actual change. > FSUtils.isInSafeMode() checks should operate on HBase root dir, where we have > permissions > ----------------------------------------------------------------------------------------- > > Key: HBASE-4680 > URL: https://issues.apache.org/jira/browse/HBASE-4680 > Project: HBase > Issue Type: Bug > Components: util > Affects Versions: 0.92.0 > Reporter: Gary Helmling > Priority: Critical > Fix For: 0.92.0 > > Attachments: HBASE-4680.patch > > > The HDFS safe mode check workaround introduced by HBASE-4510 performs a > {{FileSystem.setPermission()}} operation on the root directory ("/") when > attempting to trigger a {{SafeModeException}}. As a result, it requires > superuser privileges when running with DFS permission checking enabled. > Changing the operations to act on the HBase root directory should be safe, > since the master process must have write access to it. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira