You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2017/07/14 15:13:02 UTC

[jira] [Commented] (AMBARI-21473) Zeppelin does not start and returns: params.zookeeper_znode_parent not in interpreter['properties']['phoenix.url']: KeyError: 'phoenix.url'

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

Hadoop QA commented on AMBARI-21473:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12877279/AMBARI-21473_master_v1.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in ambari-server.

Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/11791//console

This message is automatically generated.

> 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)