[ https://issues.apache.org/jira/browse/AMBARI-3808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13826567#comment-13826567 ]
Dmitry Lysnichenko commented on AMBARI-3808: -------------------------------------------- +1 > 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 > Affects Versions: 1.4.2 > Reporter: Vitaly Brodetskyi > Assignee: Vitaly Brodetskyi > Priority: Critical > Fix For: 1.4.2 > > Attachments: AMBARI-3808.patch > > > 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)