Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Zeppelin does not start because phoenix.url cannot be found

avatar
Rising Star

Trying to start Zeppelin server from Ambari. This worked fine until once, when Ambari fails to start it with:

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py", line 450, 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 227, 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 302, in update_kerberos_properties
    and params.zookeeper_znode_parent not in interpreter['properties']['phoenix.url']:
KeyError: 'phoenix.url'
  • Didn't change any configs.
  • Restart of Ambari server/agents does not work

Ambari 2.5.0, HDP 2.6.0.3

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Stefan Kupstaitis-Dunkler

Can you please confirm it is Ambari 2.5.0?

I see that Line 302 where this is failing code matches Ambari 2.5.1 (not Ambari 2.5.0)

1. (Ambari 2.5.1) https://github.com/apache/ambari/blob/release-2.5.1/ambari-server/src/main/resources/common-services...

2. (Ambari 2.5.0) https://github.com/apache/ambari/blob/release-2.5.0/ambari-server/src/main/resources/common-services...

.

By any chance have you recently upgraded your ambari ? Also the Agent? Are the RPMs are of same version.

rpm -qa | grep ambari

.

View solution in original post

6 REPLIES 6

avatar
Master Mentor

@Stefan Kupstaitis-Dunkler

Can you please confirm it is Ambari 2.5.0?

I see that Line 302 where this is failing code matches Ambari 2.5.1 (not Ambari 2.5.0)

1. (Ambari 2.5.1) https://github.com/apache/ambari/blob/release-2.5.1/ambari-server/src/main/resources/common-services...

2. (Ambari 2.5.0) https://github.com/apache/ambari/blob/release-2.5.0/ambari-server/src/main/resources/common-services...

.

By any chance have you recently upgraded your ambari ? Also the Agent? Are the RPMs are of same version.

rpm -qa | grep ambari

.

avatar
Rising Star
@Jay SenSharma

thanks.

Yeah... forget that I upgraded yesterday. I have ambari-agent and ambari-server 2.5.1. ambari-infra-solr, ambari-metrics-collector,.... are still 2.5.0.3

As a workaround I uncommented the piece of code in the master.py file.

Is there another possible solution?

avatar
Master Mentor

@Stefan Kupstaitis-Dunkler

Post install upgrades are necessary to be performed like AMS upgrade.

The piece of code that you removed is actually added there intentially to fix the issue reported in:

AMBARI-20888. wrong ZK parent node (hbase-unsecure) getting configured as part of the jdbc(phoenix) URL on ubuntu secured cluster.

.

Specially for kerberized environment.

avatar
Rising Star

avatar
Contributor

Hi All,

I'm getting the same issue after kerberizing the cluster though it's a newly built one.

HDP-2.6.1.0

Ambari - 2.5.1.0

avatar
Expert Contributor

This is a bug in Ambari 2.5.1 [https://issues.apache.org/jira/browse/AMBARI-21473]

Resolution:

Remove /etc/zeppelin/conf/interpreter.json file and restart Zeppelin service