You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2017/09/11 10:24:00 UTC
[jira] [Updated] (AMBARI-21896) Ambari should honor permissions
specified for dfs.datanode.data.dir.perm when creating datanode dir's
[ https://issues.apache.org/jira/browse/AMBARI-21896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Onischuk updated AMBARI-21896:
-------------------------------------
Fix Version/s: 2.6.0
> Ambari should honor permissions specified for dfs.datanode.data.dir.perm when creating datanode dir's
> -----------------------------------------------------------------------------------------------------
>
> Key: AMBARI-21896
> URL: https://issues.apache.org/jira/browse/AMBARI-21896
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.5.1
> Environment: Ambari 2.5.1
> Reporter: Sanjeev
> Assignee: Andrew Onischuk
> Priority: Minor
> Fix For: 2.6.0
>
>
> Give this:
> <property>
> <name>dfs.datanode.data.dir.perm</name>
> <value>750</value>
> Ambari reports as changing permission from 750 to 755 on the data dirs:
> 2017-09-01 16:39:28,877 - Forcefully ensuring existence and permissions of the directory: /hadoop01/data
> 2017-09-01 16:39:28,878 - Directory['/hadoop01/data'] {'group': 'hadoop', 'cd_access': 'a', 'create_parents': True, 'ignore_failures': True, 'mode': 0755, 'owner': 'hdfs'}
> 2017-09-01 16:39:28,878 - Changing permission for /hadoop01/data from 750 to 755
> 2017-09-01 16:39:28,879 - Mount point for directory /hadoop02/data is /hadoop02
> 2017-09-01 16:39:28,880 - Forcefully ensuring existence and permissions of the directory: /hadoop02/data
> 2017-09-01 16:39:28,880 - Directory['/hadoop02/data'] {'group': 'hadoop', 'cd_access': 'a', 'create_parents': True, 'ignore_failures': True, 'mode': 0755, 'owner': 'hdfs'}
> 2017-09-01 16:39:28,880 - Changing permission for /hadoop02/data from 750 to 755
> 2017-09-01 16:39:28,881 - Mount point for directory /hadoop03/data is /hadoop03
> 2017-09-01 16:39:28,881 - Forcefully ensuring existence and permissions of the directory: /hadoop03/data
> 2017-09-01 16:39:28,882 - Directory['/hadoop03/data'] {'group': 'hadoop', 'cd_access': 'a', 'create_parents': True, 'ignore_failures': True, 'mode': 0755, 'owner': 'hdfs'}
> 2017-09-01 16:39:28,882 - Changing permission for /hadoop03/data from 750 to 755
> 2017-09-01 16:39:28,882 - Mount point for directory /hadoop04/data is /hadoop04
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)