ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Grinenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-21479) Deploys failing with Namenode install failure
Date Fri, 14 Jul 2017 17:06:00 GMT

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

Dmytro Grinenko updated AMBARI-21479:
-------------------------------------
    Status: Patch Available  (was: In Progress)

> Deploys failing with Namenode install failure
> ---------------------------------------------
>
>                 Key: AMBARI-21479
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21479
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-sever
>    Affects Versions: trunk
>            Reporter: Dmytro Grinenko
>            Assignee: Dmytro Grinenko
>            Priority: Blocker
>             Fix For: trunk
>
>         Attachments: AMBARI-21479.patch
>
>
> {code:java}
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/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 330, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/hooks/before-ANY/scripts/hook.py",
line 26, in hook
>     import params
>   File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/hooks/before-ANY/scripts/params.py",
line 47, in <module>
>     stack_root = Script.get_stack_root()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 619, in get_stack_root
>     stack_root = json.loads(stack_root_json)
>   File "/usr/lib/python2.6/site-packages/ambari_simplejson/__init__.py", line 307, in
loads
>     return _default_decoder.decode(s)
>   File "/usr/lib/python2.6/site-packages/ambari_simplejson/decoder.py", line 335, in
decode
>     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
>   File "/usr/lib/python2.6/site-packages/ambari_simplejson/decoder.py", line 353, in
raw_decode
>     raise ValueError("No JSON object could be decoded")
> ValueError: No JSON object could be decoded
> {code}
> {noformat}
> 2017-07-14 00:08:11,432 - Cannot find stack features for the stack named HDP
> Error: Error: Unable to run the custom hook script ['/usr/bin/python', '/var/lib/ambari-agent/cache/stacks/HDP/3.0/hooks/before-ANY/scripts/hook.py',
'ANY', '/var/lib/ambari-agent/data/command-17.json', '/var/lib/ambari-agent/cache/stacks/HDP/3.0/hooks/before-ANY',
'/var/lib/ambari-agent/data/structured-out-17.json', 'INFO', '/var/lib/ambari-agent/tmp',
'PROTOCOL_TLSv1', '']
> 2017-07-14 00:08:11,444 - Cannot find stack features for the stack named HDP
> Command failed after 1 tries
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message