ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 30880: Generation of HDFS/HIVE/HCAT/HBASE Client configurations file has failed with 500 error
Date Wed, 11 Feb 2015 15:08:11 GMT

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

Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

**STR**

  1. navigate to service page/ hosts page
  2. download client configurations  
**AR**  
popup error message

    
        org.apache.ambari.server.controller.spi.SystemException: Execution of "ambari-python-wrap
/var/lib/ambari-server/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_client.py
generate_configs /var/lib/ambari-server/tmp/HDFS_CLIENT-configuration.json /var/lib/ambari-server/resources/common-services/HDFS/2.1.0.2.0/package
/var/lib/ambari-server/tmp/structured-out.json INFO /var/lib/ambari-server/tmp" returned 1.
java.lang.Throwable: 2015-02-09 17:30:02,456 - Error while executing command 'generate_configs':
    Traceback (most recent call last):
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 184, in execute
        method(env)
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 415, in generate_configs
        import params
      File "/var/lib/ambari-server/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params.py",
line 344, in 
        repo_name = str(config['clusterName']) + '_hadoop'
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py",
line 79, in __getattr__
        raise Fail("Configuration parameter '" + self.name + "' was not found in configurations
dictionary!")
    Fail: Configuration parameter 'clusterName' was not found in configurations dictionary!
    2015-02-09 17:30:02,456 - Error while executing command 'generate_configs':
    Traceback (most recent call last):
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 184, in execute
        method(env)
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 415, in generate_configs
        import params
      File "/var/lib/ambari-server/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params.py",
line 344, in 
        repo_name = str(config['clusterName']) + '_hadoop'
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py",
line 79, in __getattr__
        raise Fail("Configuration parameter '" + self.name + "' was not found in configurations
dictionary!")
    Fail: Configuration parameter 'clusterName' was not found in configurations dictionary!


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java
0fa1b7c 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message