-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/44955/
-----------------------------------------------------------

Review request for Ambari and Vitalyi Brodetskyi.


Bugs: AMBARI-15461
    https://issues.apache.org/jira/browse/AMBARI-15461


Repository: ambari


Description
-------

STR: *<http://172.22.116.102:8080/#/main/services/YARN/summary*>  
1)Deploy old version  
2)Enable/Disable MIT security  
3)Make Ambari only Upgrade

**Actual result:**  
Yarn start is failed (YARN Client Install) after upgrade from 1.7.0 to 2.2.2.0

    
    
    
    stderr:   /var/lib/ambari-agent/data/errors-1125.txt
    
    Traceback (most recent call last):
      File 
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/yarn_client.py",
 line 65, in <module>
        YarnClient().execute()
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
 line 219, in execute
        method(env)
      File 
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/yarn_client.py",
 line 34, in install
        self.configure(env)
      File 
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/yarn_client.py",
 line 37, in configure
        import params
      File 
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/params.py",
 line 28, in <module>
        from params_linux import *
      File 
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py",
 line 142, in <module>
        rm_https_port = 
config['configurations']['yarn-site']['yarn.resourcemanager.webapp.https.address'].split(':')[-1]
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py",
 line 81, in __getattr__
        raise Fail("Configuration parameter '" + self.name + "' was not found 
in configurations dictionary!")
    resource_management.core.exceptions.Fail: Configuration parameter 
'yarn.resourcemanager.webapp.https.address' was not found in configurations 
dictionary!


Diffs
-----

  
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py
 c3a499e 

Diff: https://reviews.apache.org/r/44955/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to