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.

Hive metastore issue in HDp2.3.4.0

SOLVED Go to solution
Highlighted

Hive metastore issue in HDp2.3.4.0

Contributor

We have configured HDP 2.3.4.0 with Ambari in CentOS 6.4. Post installation we can see that the Hive Metastore service is getting stopped everytime it is started through Ambari. We had chosen MySQL for Hive metastore but in logs we can see it tries to connect with Derby. Looking for your help.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Hive metastore issue in HDp2.3.4.0

@rajdip chaudhuri

Please check hive meta store settings in ambari and make sure that it's MySQL

12 REPLIES 12

Re: Hive metastore issue in HDp2.3.4.0

@rajdip chaudhuri

Please check hive meta store settings in ambari and make sure that it's MySQL

Re: Hive metastore issue in HDp2.3.4.0

Contributor

How to check it? Which file to check?

Re: Hive metastore issue in HDp2.3.4.0

@rajdip chaudhuri

It's in ambari console

Re: Hive metastore issue in HDp2.3.4.0

Contributor

Ambari shows MySQL is being used. Attaching the screenshot.

2034-hive-metastore-issue.jpg

Re: Hive metastore issue in HDp2.3.4.0

Contributor

For OOZIE we have selected New Derby Database. But for Hive we selected New MySQL db.

Re: Hive metastore issue in HDp2.3.4.0

Contributor

Hi......any suggestions please?

Re: Hive metastore issue in HDp2.3.4.0

@rajdip chaudhuri

In Hive server

cd /var/log/hive/

and read logs to troubleshoot further

Re: Hive metastore issue in HDp2.3.4.0

Contributor

Hi Guys...looking for your help. We cannot connect to Hive post set up because of the issue.

Re: Hive metastore issue in HDp2.3.4.0

Guru

Can you check mysql connectivity and past logs here. Can you also paste output of the following command.

SHOW GRANTS FOR 'hive';

And as Neeraj suggested please grant all privileges to hive user on host like below commend.

GRANT ALL PRIVILEGES ON *.* TO 'hive'@'<hive_host>' IDENTIFIED BY PASSWORD '<password>'