Vitaly Brodetskyi created AMBARI-3808:
-----------------------------------------
Summary: If hdfs-exclude-file config type already exists then
installing DATANODE (e.g. while adding new host) fails
Key: AMBARI-3808
URL: https://issues.apache.org/jira/browse/AMBARI-3808
Project: Ambari
Issue Type: Bug
Components: agent
Reporter: Vitaly Brodetskyi
Assignee: Vitaly Brodetskyi
Priority: Critical
Error:
{code}
Duplicate definition: File[/etc/hadoop/conf/dfs.exclude] is already defined in
file /var/lib/ambari-agent/puppet/modules/hdp-hadoop/manifests/init.pp at line
199; cannot redefine at
/var/lib/ambari-agent/puppet/modules/hdp-hadoop/manifests/hdfs/generate_exclude_file.pp:36
on node *******
{code}
Repro steps:
Add hdfs-exclude-file config type - e.g.
{code}
curl --user admin:admin -i -X POST -d '{"type": "hdfs-exclude-file", "tag":
"version1", "properties" : {"datanodes":""}}'
http://localhost:8080/api/v1/clusters/c1/configurations
{code}
Then try to install DATANODE.
--
This message was sent by Atlassian JIRA
(v6.1#6144)