Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Ambari server hanging after upgrading Ambari from 2.0.2 to 2.1.2

Highlighted

Ambari server hanging after upgrading Ambari from 2.0.2 to 2.1.2

Contributor

Everything works fine until we setup external DB(mysql) for hive by running:

ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar

which is the step 17of the instruction: http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_upgrading_Ambari/content/_upgrade_ambari....

5 REPLIES 5
Highlighted

Re: Ambari server hanging after upgrading Ambari from 2.0.2 to 2.1.2

Can you provide a little more detail around what exactly is hanging? screenshots, logs, etc would all be greatly appreciated. Thanks

Highlighted

Re: Ambari server hanging after upgrading Ambari from 2.0.2 to 2.1.2

Guru

Can you make sure /usr/share/java/mysql-connector-java.jar is accessible by the user that the Ambari Server is running as?

Highlighted

Re: Ambari server hanging after upgrading Ambari from 2.0.2 to 2.1.2

+1 on getting logs. I experienced similar behavior from Ambari and the answer was in Ambari Server logs. When the server hangs, can you check ambari server logs and provide that / look for any clues?

Highlighted

Re: Ambari server hanging after upgrading Ambari from 2.0.2 to 2.1.2

@rxu@hortonworks.com

What OS is mysql running? Also, Could you verify that all the steps were followed in this link?

Please post ambari-server log entries.

Highlighted

Re: Ambari server hanging after upgrading Ambari from 2.0.2 to 2.1.2

@rxu

Please see this doc for configuring external db and make sure that you have the connector files in place.

http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_ambari_reference_guide/content/_using_hiv...

Don't have an account?
Coming from Hortonworks? Activate your account here