ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stewart Thomas J <>
Subject Ambari 2.5.2 Cluster Install Error - useradd: UID 1002 is not unique
Date Tue, 05 Sep 2017 21:21:09 GMT
Anyone have an idea on how to resolve this error? This is a new HDP 2.6.2 cluster via Ambari
2.5.2. I think it might have something to do with an additional error beyond one of these:

I am running on Red Hat 7, with SSSD. The uid in question is not in /etc/passwd (local), but
it is in our directory server already. I think that is confusing the Ambari logic being used
to fetch an unused uid...

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/", line
35, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 329, in execute
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/", line
29, in hook
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/",
line 51, in setup_users
    fetch_nonlocal_groups = params.fetch_nonlocal_groups,
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 166, in __init__
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 160,
in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 124,
in run_action
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/",
line 84, in action_create
    shell.checked_call(command, sudo=True)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 72, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 102, in
    tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 150, in
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 303, in
    raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of 'useradd -m -u 1002 -G hadoop
-g hadoop zookeeper' returned 4. useradd: UID 1002 is not unique
Error: Error: Unable to run the custom hook script ['/usr/bin/python', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/',
'ANY', '/var/lib/ambari-agent/data/command-30.json', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY',
'/var/lib/ambari-agent/data/structured-out-30.json', 'INFO', '/var/lib/ambari-agent/tmp',



View raw message