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

Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

**STR**  
1) Try to download HDFS client configurations

**Result**
    
    
    2016-03-16 11:53:39,160 - Using hadoop conf dir: 
/usr/hdp/current/hadoop-client/conf
    Traceback (most recent call last):
      File 
"/var/lib/ambari-server/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_client.py",
 line 120, in <module>
        HdfsClient().execute()
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
 line 219, in execute
        method(env)
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
 line 605, in generate_configs
        import params
      File 
"/var/lib/ambari-server/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params.py",
 line 25, in <module>
        from params_linux import *
      File 
"/var/lib/ambari-server/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py",
 line 52, in <module>
        agent_stack_retry_on_unavailability = 
cbool(config["hostLevelParams"]["agent_stack_retry_on_unavailability"])
      File "/usr/lib/python2.6/site-packages/ambari_commons/str_utils.py", line 
48, in cbool
        return bool(obj)
      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 
'agent_stack_retry_on_unavailability' was not found in configurations 
dictionary!
    

hostLevelParams/agent_stack_retry_on_unavailability is not set.


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java
 648e573 
  
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProviderTest.java
 3e4978a 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to