[
https://issues.apache.org/jira/browse/AMBARI-17888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15398504#comment-15398504
]
Hudson commented on AMBARI-17888:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #5409 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/5409/])
AMBARI-17888. Create configuration flag to prevent changing of directory
(swagle:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=77571252178955c7136d794ceefb5d7ec914b99c])
*
ambari-common/src/main/python/resource_management/libraries/functions/mounted_dirs_helper.py
> 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
>
> Attachments: AMBARI-17888-1.patch
>
>
> 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)