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

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Лют. 2, 2015, 11:20 до полудня, Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/30493/
> -----------------------------------------------------------
> 
> (Updated Лют. 2, 2015, 11:20 до полудня)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-9422
>     https://issues.apache.org/jira/browse/AMBARI-9422
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> After Upgrade deploying cluster fails:
> 
>     
>     
>     2015-01-30 14:40:12,121 - u"Group['hadoop']" {'ignore_failures': False}
>     2015-01-30 14:40:12,123 - Modifying group hadoop
>     2015-01-30 14:40:12,181 - u"Group['users']" {'ignore_failures': False}
>     2015-01-30 14:40:12,182 - Modifying group users
>     2015-01-30 14:40:12,220 - u"Group[' hdfs']" {'ignore_failures': False}
>     2015-01-30 14:40:12,220 - Adding group u"Group[' hdfs']"
>     2015-01-30 14:40:12,237 - Error while executing command 'any':
>     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 
> "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py",
>  line 30, in hook
>         setup_users()
>       File 
> "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py",
>  line 73, in setup_users
>         ignore_failures = params.ignore_groupsusers_create
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 
> 148, in __init__
>         self.env.run()
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 151, in run
>         self.run_action(resource, action)
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 117, in run_action
>         provider_action()
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/accounts.py",
>  line 109, in action_create
>         shell.checked_call(command, sudo=True)
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 
> 67, in inner
>         return function(command, **kwargs)
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 
> 79, in checked_call
>         return _call(command, logoutput, True, cwd, env, preexec_fn, user, 
> wait_for_finish, timeout, path, sudo, on_new_line)
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 
> 185, in _call
>         raise Fail(err_msg)
>     Fail: Execution of 'groupadd ' hdfs'' returned 3. groupadd: ' hdfs' is 
> not a valid group name
>     Error: Error: Unable to run the custom hook script ['/usr/bin/python2.6', 
> '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py',
>  'ANY', '/var/lib/ambari-agent/data/command-225.json', 
> '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY', 
> '/var/lib/ambari-agent/data/structured-out-225.json', 'INFO', 
> '/var/lib/ambari-agent/data/tmp']
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog200.java
>  a8b3fc3 
>   
> ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog200Test.java
>  d6f9e6e 
> 
> Diff: https://reviews.apache.org/r/30493/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>

Reply via email to