ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Fernandez <>
Subject Re: Error while running services from Ambari
Date Wed, 18 Nov 2015 18:44:40 GMT
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


From: Krishna Kishore Bonagiri <<>>
Reply-To: "<>" <<>>
Date: Wednesday, November 18, 2015 at 4:58 AM
To: "<>" <<>>
Subject: Error while running services from Ambari


  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

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/",
line 123, in execute
  File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.0/hooks/before-ANY/scripts/",
line 30, in hook
  File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.0/hooks/before-ANY/scripts/",
line 68, in setup_users
    ignore_failures = params.ignore_groupsusers_create
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 148, in __init__
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 149,
in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 115,
in run_action
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/",
line 101, in action_create
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 36, in checked_call
    return _call(command, logoutput, True, cwd, env, preexec_fn, user, wait_for_finish, timeout,
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 102, in
    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/',
'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']


View raw message