Nikhil vyas
Nikhil vyas

Reputation: 37

Hive - issues while starting

I have been using Hive for sometime now on Ubuntu while Hadoop is in Pseudo Distribution mode however today out of nowhere i am getting error while starting Hive shell.I have not made any changes in configuration at all -

Caused by: Meta Exception(message:Could not connect to meta store using any of the URIs provided. Most recent failure: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused 

Upvotes: 1

Views: 6145

Answers (1)

Amal G Jose
Amal G Jose

Reputation: 2536

The hivemetastore service is not running. You can start the service with the command below. This command is for installations made using packages.

service hive-metastore start

For tarball installations, you can start the hive metastore using the below command

hive --service metastore &

Upvotes: 2

Related Questions