ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krishna Kishore Bonagiri <write2kish...@gmail.com>
Subject Error while running services from Ambari
Date Wed, 18 Nov 2015 12:58:51 GMT
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

Mime
View raw message