Sanjeev created AMBARI-21896:
--------------------------------
Summary: 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
Priority: Minor
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)