apache / doris

Apache Doris is an easy-to-use, high performance and unified analytics database.
https://doris.apache.org
Apache License 2.0
12.38k stars 3.22k forks source link

[Enhancement] iceberg依赖hive版本冲突 #17080

Closed wangmiao1002 closed 1 year ago

wangmiao1002 commented 1 year ago

Search before asking

Description

基于Hive2.1.1的 Metastore创建的iceberg 的Catalog,查询表时出现 ERROR 1105 (HY000): errCode = 2, detailMessage = Unexpected exception: failed to get table doristest in db fun_wm from hms client. reason: org.apache.thrift.TApplicationException: Invalid method name: 'get_table_req' 基于上述同样配置 创建hive的catalog 则可以查询,是否iceberg连接hive Matestore可以和hive的catalog逻辑保持一致

Solution

No response

Are you willing to submit PR?

Code of Conduct

morningman commented 1 year ago

please paste your create catalog statement, and what is your Doris version?

wangmiao1002 commented 1 year ago

doris 版本:1.2.2

image

morningman commented 1 year ago

you can specify the hive version in your create catalog stmt:

"hive.version" = "2.1.1"

See https://doris.apache.org/zh-CN/docs/dev/lakehouse/multi-catalog/hive#hive-%E7%89%88%E6%9C%AC

wangmiao1002 commented 1 year ago

Successfully set the hive version to query the execution. Thank you for your reply