You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Vitaly Brodetskyi (JIRA)" <ji...@apache.org> on 2013/11/19 16:05:19 UTC
[jira] [Commented] (AMBARI-3808) If hdfs-exclude-file config type
already exists then installing DATANODE (e.g. while adding new host) fails
[ https://issues.apache.org/jira/browse/AMBARI-3808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13826565#comment-13826565 ]
Vitaly Brodetskyi commented on AMBARI-3808:
-------------------------------------------
Patch attached.
> 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)