HBase
  1. HBase
  2. HBASE-4680

FSUtils.isInSafeMode() checks should operate on HBase root dir, where we have permissions

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Later
    • Affects Version/s: 0.92.0, 0.94.0
    • Fix Version/s: None
    • Component/s: util
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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.

      1. HBASE-4680.patch
        2 kB
        Gary Helmling

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Gary Helmling
            Reporter:
            Gary Helmling
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development