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

[jira] [Comment Edited] (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=15398230#comment-15398230 ] 

Siddharth Wagle edited comment on AMBARI-17888 at 7/28/16 9:16 PM:
-------------------------------------------------------------------

Unit test broken. 
{quote}TypeError: cannot concatenate 'str' and 'NoneType' objects{quote}

New patch fix:
----------------------------------------------------------------------
Ran 267 tests in 6.655s

OK
----------------------------------------------------------------------
Total run:1034
Total errors:0
Total failures:0
OK


was (Author: swagle):
Unit test broken. New patch fix:
----------------------------------------------------------------------
Ran 267 tests in 6.655s

OK
----------------------------------------------------------------------
Total run:1034
Total errors:0
Total failures:0
OK

> 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)