You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2016/05/11 13:48:13 UTC

[jira] [Created] (AMBARI-16451) Takeover script on Paypal configs results in conflict message that look wrong

Andrew Onischuk created AMBARI-16451:
----------------------------------------

             Summary: Takeover script on Paypal 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 <module>
        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)