[
https://issues.apache.org/jira/browse/AMBARI-17888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Siddharth Wagle resolved AMBARI-17888.
--------------------------------------
Resolution: Fixed
Pushed to 2.4 and trunk.
> Create configuration flag to prevent changing of directory permissions
> ----------------------------------------------------------------------
>
> Key: AMBARI-17888
> URL: https://issues.apache.org/jira/browse/AMBARI-17888
> Project: Ambari
> Issue Type: Task
> Components: ambari-agent
> Affects Versions: 2.2.2
> Reporter: Siddharth Wagle
> Fix For: 2.4.0
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)