Error:
hive> show tables;
FAILED: Error in metadata: MetaException(message:Could not connect to meta store using any of the URIs provided)
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
Solution:
1. It implies that the hive metastore server is not started up, so please use the following commands to start it up:
[root @.. bin]# hive --service metastore &
2. Please also check if the parameters of metastore server you want to connect to are correct.