Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-17888

Create configuration flag to prevent changing of directory permissions

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.2
    • 2.4.0
    • ambari-agent
    • None

    Description

      A common method of addressing failed disks, which is to set unwritable permissions on a directory such as /hadoop10 within the root filesystem.

      Once mounted, the mounted filesystem will overlay the correct permissions structure, allowing hdfs to write to the mounted disk.

      In the case of a failed mount operation, the associated /hadoop10 directory will be unwritable by hdfs.

      However, Ambari will see the visible directory with incorrect permissions, and "fix" the permissions back to a writable directory-- resulting in the datanode filling the root partition of a machine.

      We need to prevent ambari from changing permissions on YARN local and HDFS data dirs.

      Attachments

        1. AMBARI-17888-1.patch
          1 kB
          Siddharth Wagle

        Issue Links

          Activity

            People

              swagle Siddharth Wagle
              swagle Siddharth Wagle
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: