Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 4.0.0
-
None
-
System: CentOS Linux release 7.9.2009 (Core)
impala version: 4.0
hive version: hive 3.1.2
-
Patch, Important
-
ghx-label-11
Description
The Catalog throws a "Invalid method name: 'get_database_req'" exception when it loads the metadata. Details of the exception:
E0619 17:29:46.031193 301062 CatalogServiceCatalog.java:2614] Error executing getDatabase() metastore call: default
Java exception follows:
org.apache.thrift.TApplicationException: Invalid method name: 'get_database_req'
at org.apache.thrift.TApplicationException.read(TApplicationException.java:111)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:79)
at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.recv_get_database_req(ThriftHiveMetastore.java:1337)
at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.get_database_req(ThriftHiveMetastore.java:1324)
at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getDatabase(HiveMetaStoreClient.java:1940)
at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getDatabase(HiveMetaStoreClient.java:1924)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:208)
at com.sun.proxy.$Proxy11.getDatabase(Unknown Source)
at org.apache.impala.catalog.CatalogServiceCatalog.invalidateTable(CatalogServiceCatalog.java:2608)
at org.apache.impala.service.CatalogOpExecutor.execResetMetadata(CatalogOpExecutor.java:4558)
at org.apache.impala.service.JniCatalog.resetMetadata(JniCatalog.java:187)
E0619 17:29:46.036005 301062 catalog-server.cc:159] TableNotFoundException: Table not found: default.count_test
E0619 17:29:55.036509 301062 CatalogServiceCatalog.java:2614] Error executing getDatabase() metastore call: default
Java exception follows:
org.apache.thrift.TApplicationException: Invalid method name: 'get_database_req'
at org.apache.thrift.TApplicationException.read(TApplicationException.java:111)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:79)
at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.recv_get_database_req(ThriftHiveMetastore.java:1337)
at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.get_database_req(ThriftHiveMetastore.java:1324)
at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getDatabase(HiveMetaStoreClient.java:1940)
at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getDatabase(HiveMetaStoreClient.java:1924)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:208)
at com.sun.proxy.$Proxy11.getDatabase(Unknown Source)
at org.apache.impala.catalog.CatalogServiceCatalog.invalidateTable(CatalogServiceCatalog.java:2608)
at org.apache.impala.service.CatalogOpExecutor.execResetMetadata(CatalogOpExecutor.java:4558)
at org.apache.impala.service.JniCatalog.resetMetadata(JniCatalog.java:187)
E0619 17:29:55.036792 301062 catalog-server.cc:159] TableNotFoundException: Table not found: default.count_test
Attachments
Issue Links
- is fixed by
-
IMPALA-10871 Add MetastoreShim to support Apache Hive 3.x
- Resolved