One of your properties is missing/empty. E.g., hdfs-site : dfs.cluster.administrators cluster-env : user_group ranger_env : ranger_group hadoop-env : proxyuser_group knox-env : knox_group spark-env : spark_group ...
You can disable this feature by setting this property to True, cluster-env : ignore_groupsusers_create Thanks, Alejandro From: Krishna Kishore Bonagiri <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Wednesday, November 18, 2015 at 4:58 AM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Error while running services from Ambari Hi, Please see if you can help me resolve this issue. I am getting this error when trying to start services (for ex. the name node) from Ambari. Looks like the group name is going as None/null object, and causing this error. But I don't know why is the group name becoming Null. 2015-11-17 02:00:44,241 - Error while executing command 'any': Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 123, in execute method(env) File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.0/hooks/before-ANY/scripts/hook.py", line 30, in hook setup_users() File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.0/hooks/before-ANY/scripts/shared_initialization.py", line 68, 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 149, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/accounts.py", line 101, in action_create shell.checked_call(command) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 36, in checked_call return _call(command, logoutput, True, cwd, env, preexec_fn, user, wait_for_finish, timeout, path) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102, in _call raise Fail(err_msg) Fail: Execution of 'groupadd ''' returned 3. groupadd: '' 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/BigInsights/4.0/hooks/before-ANY/scripts/hook.py', 'ANY', '/var/lib/ambari-agent/data/command-1848.json', '/var/lib/ambari-agent/cache/stacks/BigInsights/4.0/hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-1848.json', 'INFO', '/var/lib/ambari-agent/data/tmp'] Thanks, Kishore
