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-21473) Zeppelin does not start and returns: params.zookeeper_znode_parent not in interpreter['properties']['phoenix.url']: KeyError: 'phoenix.url'
Date Wed, 19 Jul 2017 09:47:00 GMT

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

Hudson commented on AMBARI-21473:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #1712 (See [https://builds.apache.org/job/Ambari-branch-2.5/1712/])
AMBARI-21473. Zeppelin does not start and returns: (venkatasairam.lanka: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=837b0bdff6cc38c7c2ffe548bb012ac84b5bca7b])
* (edit) ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py


> Zeppelin does not start and returns: params.zookeeper_znode_parent not in interpreter['properties']['phoenix.url']:
KeyError: 'phoenix.url'
> -------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-21473
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21473
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Prabhjyot Singh
>            Assignee: Prabhjyot Singh
>         Attachments: AMBARI-21473_master_v1.patch
>
>
> After the initial install of the cluster and trying to start up Zeppelin service the
following comes up in Ambari
> {code}
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py",
line 448, in <module>
>     Master().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 329, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py",
line 225, in start
>     self.update_kerberos_properties()
>   File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py",
line 300, in update_kerberos_properties
>     and params.zookeeper_znode_parent not in interpreter['properties']['phoenix.url']:
> KeyError: 'phoenix.url'
> {code}
> WORKAROUND:
> It is likely there are no phoenix properties in /etc/zeppelin/conf/interpreter.json file.
In that situation:
> - edit this file
> - search for "jdbc"
> - in that section go to "properties" where you can see definition for hive, default,
etc.
> - add the below:
> "phoenix.user": "phoenixuser",
> "phoenix.driver": "org.apache.phoenix.jdbc.PhoenixDriver",
> "phoenix.url": "jdbc:phoenix:<hbase.zookeeper.quorum>:<zookeeper.znode.parent>",
> "phoenix.hbase.client.retries.number": "1",
> - save the changes
> - restart Zeppelin
> OR
> Remove /etc/zeppelin/conf/interpreter.json file and restart Zeppelin service
> Steps to reproduce; (this happens only on a Kerberos enabled cluster)
> - On a fresh cluster install just Zeppelin
> - Once the above is done, then installed hbase/phoenix.
> - Now restart Zeppelin
> Ambari will fail to start Zeppelin with the above-mentioned error.



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

Mime
View raw message