[ 
https://issues.apache.org/jira/browse/AMBARI-16451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Srimanth Gunturi updated AMBARI-16451:
--------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed to trunk

> 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 <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)

Reply via email to