hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Helmling (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-4680) FSUtils.isInSafeMode() requires superuser privileges when HDFS permissions checking enabled
Date Wed, 26 Oct 2011 06:03:32 GMT

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

Gary Helmling updated HBASE-4680:
---------------------------------

    Attachment: HBASE-4680.patch

Patch against trunk fixing FSUtils.isInSafeMode() to operate on HBase root instead of filesystem
root.
                
> FSUtils.isInSafeMode() requires superuser privileges when HDFS permissions checking enabled
> -------------------------------------------------------------------------------------------
>
>                 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

        

Mime
View raw message