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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Later
    • 0.92.0, 0.94.0
    • None
    • util
    • None
    • 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

        1. HBASE-4680.patch
          2 kB
          Gary Helmling

        Activity

          People

            Unassigned Unassigned
            ghelmling Gary Helmling
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: