Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7BE442004CA for ; Wed, 11 May 2016 17:52:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 73CCC160A14; Wed, 11 May 2016 15:52:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BE2F9160A09 for ; Wed, 11 May 2016 17:52:13 +0200 (CEST) Received: (qmail 77167 invoked by uid 500); 11 May 2016 15:52:13 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 77151 invoked by uid 99); 11 May 2016 15:52:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2016 15:52:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DDB742C033A for ; Wed, 11 May 2016 15:52:12 +0000 (UTC) Date: Wed, 11 May 2016 15:52:12 +0000 (UTC) From: "Hadoop QA (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-16451) Takeover script configs results in conflict message that look wrong MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 11 May 2016 15:52:14 -0000 [ https://issues.apache.org/jira/browse/AMBARI-16451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15280315#comment-15280315 ] Hadoop QA commented on AMBARI-16451: ------------------------------------ {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12803431/AMBARI-16451.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in ambari-server. Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/6821//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/6821//console This message is automatically generated. > Takeover script configs results in conflict message that look wrong > ------------------------------------------------------------------- > > Key: AMBARI-16451 > URL: https://issues.apache.org/jira/browse/AMBARI-16451 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 2.4.0 > > Attachments: AMBARI-16451.patch > > > Attaching the zip file with configs and conflicts. > * The conflicting configs seem to have a lot of duplicate info > mapred-site :: dfs.datanode.du.reserved > * Unable to handle empty config files: > Had to hand edit and add try / catch at : > > yaml.load(file).iteritems() > > parsed_configurations_from_path, parsed_properties_attributes = > parser.read_data_to_map(path) > > > > Traceback (most recent call last): > File "./takeover_config_merge.py", line 393, in > sys.exit(main()) > File "./takeover_config_merge.py", line 389, in main > return configMerge.perform_merge() > File "./takeover_config_merge.py", line 279, in perform_merge > parsed_configurations_from_path, parsed_properties_attributes = parser.read_data_to_map(path) > File "./takeover_config_merge.py", line 86, in read_data_to_map > for name, value in yaml.load(file).iteritems(): > AttributeError: 'NoneType' object has no attribute 'iteritems' > > _Instruction_ > > > > ./takeover_config_merge.py -o blueprint -i files > -- This message was sent by Atlassian JIRA (v6.3.4#6332)