- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
FAILED: SemanticException while executing queries in hive shell
- Labels:
-
Apache Hive
Created on ‎05-09-2018 02:51 AM - edited ‎09-16-2022 06:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have installed Hadoop 3.0.0 and Hive 2.3.1 in my PC.
Parallely i installed mysql and working with sql commands in sql shell mode and working fine.
But While executing queries in Hive shell mode, i am receiving the following error,
hive> create table saurzcode(id int, name string); FAILED: SemanticException org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
I configured the hive-site.xml properly and i created the hiveuser on the metastore database in mysql shell. And i granted privileges for that user and exected schemas. But while executing any queries in hive shell i am getting exception. Please let me know the solution for this exception.
Created ‎05-23-2018 01:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to check the HMS server log to see what's happening.
