Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4AC2910DDA for ; Tue, 19 Nov 2013 15:05:23 +0000 (UTC) Received: (qmail 58216 invoked by uid 500); 19 Nov 2013 15:05:22 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 58188 invoked by uid 500); 19 Nov 2013 15:05:21 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 58171 invoked by uid 99); 19 Nov 2013 15:05:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Nov 2013 15:05:20 +0000 Date: Tue, 19 Nov 2013 15:05:19 +0000 (UTC) From: "Vitaly Brodetskyi (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-3808) If hdfs-exclude-file config type already exists then installing DATANODE (e.g. while adding new host) fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)