Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EA18B200CC8 for ; Fri, 14 Jul 2017 13:20:16 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E88A816D93B; Fri, 14 Jul 2017 11:20:16 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3A5BF16D93A for ; Fri, 14 Jul 2017 13:20:16 +0200 (CEST) Received: (qmail 89670 invoked by uid 500); 14 Jul 2017 11:20:15 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 89654 invoked by uid 99); 14 Jul 2017 11:20:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jul 2017 11:20:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 55923C0C1E for ; Fri, 14 Jul 2017 11:20:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.201 X-Spam-Level: X-Spam-Status: No, score=-99.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id xRdSq3ZCyaXW for ; Fri, 14 Jul 2017 11:20:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 5CB3D5FB43 for ; Fri, 14 Jul 2017 11:20:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A543DE0031 for ; Fri, 14 Jul 2017 11:20:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1769724746 for ; Fri, 14 Jul 2017 11:20:00 +0000 (UTC) Date: Fri, 14 Jul 2017 11:20:00 +0000 (UTC) From: "Prabhjyot Singh (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-21473) Zeppelin does not start and returns: params.zookeeper_znode_parent not in interpreter['properties']['phoenix.url']: KeyError: 'phoenix.url' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 14 Jul 2017 11:20:17 -0000 [ https://issues.apache.org/jira/browse/AMBARI-21473?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prabhjyot Singh updated AMBARI-21473: ------------------------------------- Attachment: AMBARI-21473_master_v1.patch > 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): > =E2=80=82=E2=80=82File "/var/lib/ambari-agent/cache/common-services/ZEPPE= LIN/0.6.0.2.5/package/scripts/master.py", line 448, in > =E2=80=82=E2=80=82=E2=80=82=E2=80=82Master().execute() > =E2=80=82=E2=80=82File "/usr/lib/python2.6/site-packages/resource_managem= ent/libraries/script/script.py", line 329, in execute > =E2=80=82=E2=80=82=E2=80=82=E2=80=82method(env) > =E2=80=82=E2=80=82File "/var/lib/ambari-agent/cache/common-services/ZEPPE= LIN/0.6.0.2.5/package/scripts/master.py", line 225, in start > =E2=80=82=E2=80=82=E2=80=82=E2=80=82self.update_kerberos_properties() > =E2=80=82=E2=80=82File "/var/lib/ambari-agent/cache/common-services/ZEPPE= LIN/0.6.0.2.5/package/scripts/master.py", line 300, in update_kerberos_prop= erties > =E2=80=82=E2=80=82=E2=80=82=E2=80=82and 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/interp= reter.json file. In that situation: > - edit this file > - search for "jdbc" > - in that section go to "properties" where you can see definition for hiv= e, default, etc. > - add the below: > "phoenix.user": "phoenixuser", > "phoenix.driver": "org.apache.phoenix.jdbc.PhoenixDriver", > "phoenix.url": "jdbc:phoenix::", > "phoenix.hbase.client.retries.number": "1", > - save the changes > - restart Zeppelin > OR > Remove /etc/zeppelin/conf/interpreter.json file and restart Zeppelin serv= ice > 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)