You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "zhangxiaolu (JIRA)" <ji...@apache.org> on 2015/10/13 13:49:05 UTC

[jira] [Created] (AMBARI-13401) add new service

zhangxiaolu created AMBARI-13401:
------------------------------------

             Summary: add new service 
                 Key: AMBARI-13401
                 URL: https://issues.apache.org/jira/browse/AMBARI-13401
             Project: Ambari
          Issue Type: Bug
            Reporter: zhangxiaolu


Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py", line 35, in <module>
    BeforeAnyHook().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 218, 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 76, in setup_users
    ignore_failures = params.ignore_groupsusers_create
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 152, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 118, in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/accounts.py", line 44, in action_create
    if not self.user:
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/accounts.py", line 93, in user
    return pwd.getpwnam(self.resource.username)
TypeError: getpwnam() argument 1 must be string, not None
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-404.json', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-404.json', 'INFO', '/var/lib/ambari-agent/data/tmp']



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