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.

getting hive exception

Highlighted

getting hive exception

Master Collaborator

.
org.apache.hadoop.hive.metastore.api.MetaException: Got exception: org.apache.thrift.TApplicationException Invalid method name: 'get_tables_by_type'
at org.apache.hadoop.hive.metastore.MetaStoreUtils.logAndThrowMetaException(MetaStoreUtils.java:1382) ~[drill-hive-exec-shaded-1.16.0.jar:1.16.0]
at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getTables(HiveMetaStoreClient.java:1405) ~[drill-hive-exec-shaded-1.16.0.jar:1.16.0]

3 REPLIES 3

Re: getting hive exception

Master Collaborator


: FINISHED
2019-05-10 14:23:13,482 [232a3e6e-06be-9256-92ee-bf27f13b643c:foreman] INFO o.a.drill.exec.work.foreman.Foreman - Query text for query with id 232a3e6e-06be-9256-92ee-bf27f13b643c issued by anonymous: show tables
2019-05-10 14:23:13,842 [232a3e6e-06be-9256-92ee-bf27f13b643c:frag:0:0] WARN o.a.d.e.s.h.c.TableNameCacheLoader - Failure while attempting to get hive tables. Retries once.
org.apache.hadoop.hive.metastore.api.MetaException: Got exception: org.apache.thrift.TApplicationException Invalid method name: 'get_tables_by_type'
at org.apache.hadoop.hive.metastore.MetaStoreUtils.logAndThrowMetaException(MetaStoreUtils.java:1382) ~[drill-hive-exec-shaded-1.16.0.jar:1.16.0]
at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getTables(HiveMetaStoreClient.java:1405) ~[drill-hive-exec-shaded-1.16.0.jar:1.16.0]
at org.apache.drill.exec.store.hive.client.TableNameCacheLoader.load(TableNameCacheLoader.java:59) [drill-storage-hive-core-1.16.0.jar:1.16.0]
at org.apache.drill.exec.store.hive.client.TableNameCacheLoader.load(TableNameCacheLoader.java:41) [drill-storage-hive-core-1.16.0.jar:1.16.0]
at org.apache.drill.shaded.guava.com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3708) [drill-shaded-guava-23.0.ja

Re: getting hive exception

Mentor

@Sami Ahmad

Can you explain what you were trying to do before getting those errors and please always good to include the OS/HDP /ambari versions.

With the information, you have provided no one is capable of helping you

Re: getting hive exception

Mentor

@Sami Ahmad

Any updates?

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