ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-13401) Fail to start services
Date Tue, 22 Mar 2016 17:29:25 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-13401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alejandro Fernandez updated AMBARI-13401:
-----------------------------------------
    Attachment: Screen Shot 2016-03-22 at 10.26.40 AM.png
                Screen Shot 2016-03-22 at 10.27.23 AM.png

> Fail to start services
> ----------------------
>
>                 Key: AMBARI-13401
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13401
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 2.2.0
>         Environment: centos6.5
>            Reporter: zhangxiaolu
>         Attachments: Screen Shot 2016-03-22 at 10.26.40 AM.png, Screen Shot 2016-03-22
at 10.27.23 AM.png
>
>
> 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)

Mime
View raw message