You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/07/28 20:29:20 UTC

[jira] [Commented] (AMBARI-17888) Create configuration flag to prevent changing of directory permissions

    [ https://issues.apache.org/jira/browse/AMBARI-17888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15398148#comment-15398148 ] 

Hudson commented on AMBARI-17888:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #5407 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5407/])
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=802a85c420ce00d1b7366c18c2e3ceddd8aafae9])
* ambari-server/src/test/python/stacks/2.5/configs/ranger-admin-default.json
* ambari-server/src/test/python/stacks/2.5/configs/ranger-kms-default.json
* ambari-agent/src/test/python/resource_management/TestDatanodeHelper.py
* ambari-server/src/test/python/stacks/2.5/configs/ranger-kms-secured.json
* ambari-server/src/test/python/stacks/2.5/configs/ranger-admin-secured.json
* ambari-server/src/main/resources/stacks/HDP/2.0.6/configuration/cluster-env.xml
* ambari-server/src/test/python/stacks/2.0.6/configs/secured.json
* ambari-server/src/test/python/stacks/2.0.6/configs/default.json
* 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
>
>
> 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)