ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-16772) Zeppelin restart with Ambari fails - according to Ambari
Date Wed, 25 May 2016 13:27:13 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-16772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15300031#comment-15300031
] 

Hudson commented on AMBARI-16772:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #4920 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4920/])
AMBARI-16772. Zeppelin restart with Ambari fails - according to Ambari (pallav.kul: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=3f7b4a3743360a96d45373c91e04635985445de9])
* ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py


> Zeppelin restart with Ambari fails - according to Ambari
> --------------------------------------------------------
>
>                 Key: AMBARI-16772
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16772
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>         Environment: centos
>            Reporter: Renjith Kamath
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-16772-trunk-v1.patch
>
>
> Configure Zeppelin to authenticate users.
> Log in to Zeppelin as a user (let's say user1)
> Re-start Zeppelin with Ambai, note Ambari reports Zeppelin fails to restart. However
Zeppelin is restarted fine.
> Note 401 in the log of the error below. I suspect it is because with authentication enabled
Ambari isn't able to contact zeppelin.
> {code: title=stderr: /var/lib/ambari-agent/data/errors-249.txt}
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.4/services/ZEPPELIN/package/scripts/master.py",
line 235, in <module>
>     Master().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 219, in execute
>     method(env)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 535, in restart
>     self.start(env)
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.4/services/ZEPPELIN/package/scripts/master.py",
line 179, in start
>     self.update_zeppelin_interpreter()
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.4/services/ZEPPELIN/package/scripts/master.py",
line 196, in update_zeppelin_interpreter
>     data = json.load(urllib2.urlopen(zeppelin_int_url))
>   File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen
>     return _opener.open(url, data, timeout)
>   File "/usr/lib64/python2.6/urllib2.py", line 397, in open
>     response = meth(req, response)
>   File "/usr/lib64/python2.6/urllib2.py", line 510, in http_response
>     'http', request, response, code, msg, hdrs)
>   File "/usr/lib64/python2.6/urllib2.py", line 435, in error
>     return self._call_chain(*args)
>   File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
>     result = func(*args)
>   File "/usr/lib64/python2.6/urllib2.py", line 518, in http_error_default
>     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
> urllib2.HTTPError: HTTP Error 401: Unauthorized
> {code}



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

Mime
View raw message