You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Alexey Diomin (Jira)" <ji...@apache.org> on 2021/07/15 03:35:00 UTC
[jira] [Comment Edited] (IMPALA-10756) Catalog failed to load
metadata.
[ https://issues.apache.org/jira/browse/IMPALA-10756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17380991#comment-17380991 ]
Alexey Diomin edited comment on IMPALA-10756 at 7/15/21, 3:34 AM:
------------------------------------------------------------------
cloudera hive has some backported patches
your problem was caused by this patch:
https://issues.apache.org/jira/browse/HIVE-22087
[https://github.com/apache/hive/commit/3934de09cd0a72e20a091a8bfa06e80b76ac197c]
so for work with vanilla hive you have to rebuild your impala with apache hive dependencies
or just replace this hive jars
hive-classification-3.1.3000.7.2.9.0-146.jar
hive-standalone-metastore-3.1.3000.7.2.9.0-146.jar
hive-storage-api-3.1.3000.7.2.9.0-146.jar
but you can have other issues in have/hadoop api
was (Author: humanoid):
cloudera hive has some backported patches
your problem was caused by this patch:
https://issues.apache.org/jira/browse/HIVE-22087
[https://github.com/apache/hive/commit/3934de09cd0a72e20a091a8bfa06e80b76ac197c]
so for work with vanilla hive you have to rebuild your impala with apache hive dependencies
or just replace this hive jars
ive-classification-3.1.3000.7.2.9.0-146.jar
hive-standalone-metastore-3.1.3000.7.2.9.0-146.jar
hive-storage-api-3.1.3000.7.2.9.0-146.jar
but you can have other issues in have/hadoop api
> Catalog failed to load metadata.
> --------------------------------
>
> Key: IMPALA-10756
> URL: https://issues.apache.org/jira/browse/IMPALA-10756
> Project: IMPALA
> Issue Type: Bug
> Components: Frontend
> Affects Versions: Impala 4.0
> Environment: System: CentOS Linux release 7.9.2009 (Core)
> impala version: 4.0
> hive version: hive 3.1.2
> Reporter: zhi tang
> Priority: Major
>
> 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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org