[ https://issues.apache.org/jira/browse/HBASE-4680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13140386#comment-13140386 ]
stack commented on HBASE-4680: ------------------------------ Reverting because of this discussion: http://search-hadoop.com/m/7WOjpVyG5F/Hmaster+can%2527t+start+for+the+latest+trunk+version&subj=Hmaster+can+t+start+for+the+latest+trunk+version > 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, 0.94.0 > Reporter: Gary Helmling > Assignee: 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