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

Review request for Ambari and Dmytro Sen.


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


Repository: ambari


Description
-------

STR:  
1\. Select only HDFS service on "Choose services" step.  
2\. Deploy cluster with other default values

Logs

    
    
    2014-07-21 13:06:26,180 - Error while executing command 'install':
    Traceback (most recent call last):
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
 line 111, in execute
        method(env)
      File 
"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py",
 line 36, in hook
        setup_users()
      File 
"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py",
 line 121, in setup_users
        ignore_failures = params.ignore_groupsusers_create
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", 
line 119, in __new__
        env.resources[r_type][name] = obj
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py",
 line 75, in __getattr__
        raise Fail("Configuration parameter '"+self.name+"' was not found in 
configurations dictionary!")
    Fail: Configuration parameter 'mapred-env' was not found in configurations 
dictionary!
    

Proposal:  
check if mapred-env configs is in the command  
set default values for mapred-env properties in params.py


Diffs
-----

  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/params.py
 70d2430 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/shared_initialization.py
 fa351f9 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/params.py
 f68e0da 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py
 62fbfdb 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to