[ 
https://issues.apache.org/jira/browse/AMBARI-9599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14318487#comment-14318487
 ] 

Hudson commented on AMBARI-9599:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #1750 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/1750/])
AMBARI-9599. Install fails with custom user/group (aonishuk) (aonishuk: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=58e1da97e15bac4a2486bdd13c256aa1c4e3f9b3)
* ambari-common/src/main/python/resource_management/core/providers/accounts.py
* ambari-server/src/test/python/stacks/2.0.6/configs/default.json
* 
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py
* 
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py
* ambari-server/src/test/python/stacks/2.0.6/hooks/before-ANY/test_before_any.py
* 
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog200Test.java
* 
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog200.java
* 
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/configuration/hdfs-site.xml


> Install fails with custom user/group
> ------------------------------------
>
>                 Key: AMBARI-9599
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9599
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.0.0
>
>
> navigate through the Ambari install wizard. At the customize services page,
> MISC tab change the hdfs user to custom-hdfs, in the dialog window confirm so
> that usergroup is also updated. Deployment fails with the below error. Please
> help figure out the issue.
> 2015-02-10 21:56:14,002 - 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 ' custom-hdfs'' returned 3. groupadd: ' custom-
> 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-289.json',
> '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY', '/var/lib
> /ambari-agent/data/structured-out-289.json', 'INFO', '/var/lib/ambari-
> agent/data/tmp']



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to