You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Harsh J (Resolved) (JIRA)" <ji...@apache.org> on 2011/12/11 21:22:40 UTC

[jira] [Resolved] (HBASE-4680) FSUtils.isInSafeMode() checks should operate on HBase root dir, where we have permissions

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

Harsh J resolved HBASE-4680.
----------------------------

    Resolution: Later

Not a problem right now.
                
> 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
>         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