Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-4680

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: