You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2014/07/23 14:49:25 UTC

Review Request 23853: HDFS-only cluster deployment fails

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


Re: Review Request 23853: HDFS-only cluster deployment fails

Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/23853/#review48502
-----------------------------------------------------------

Ship it!


Ship It!

- Dmytro Sen


On July 23, 2014, 12:49 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/23853/
> -----------------------------------------------------------
> 
> (Updated July 23, 2014, 12:49 p.m.)
> 
> 
> 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
> 
>