doris icon indicating copy to clipboard operation
doris copied to clipboard

[Bug] check uri error in hive catalog

Open CookingBoy opened this issue 3 years ago • 4 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

Version

release-1.2.4.1

What's Wrong?

Backgroud: Hive supports setting separate paths for partitions

Bug:if the location of Hive tables is hdfs, and the setting of location for some partitions is s3 in the same table, this is an error like 'connect to hdfs failed, error: InvalidParameter: Invalid input: uri is not a valid URI type. ' when you try to read the data of these special partition. And vice versa, but the difference is that the error is like 's3 uri is invalid: hdfs://ns1/xxxx'.

What You Expected?

read data normally from the special partitions whose location is on s3

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

CookingBoy avatar Jun 18 '23 11:06 CookingBoy

So what you mean is that for hive table, some of its partitions are stored on HDFS, and some of them are stored on S3?

morningman avatar Jun 18 '23 12:06 morningman

So what you mean is that for hive table, some of its partitions are stored on HDFS, and some of them are stored on S3?

Example:

Hive table creation statement: image

one partition location settings in same table: image

CookingBoy avatar Jun 19 '23 03:06 CookingBoy

This is my wechat: morningman-cmy, could we talk on wechat for details?

morningman avatar Jun 19 '23 06:06 morningman

This is my wechat: morningman-cmy, could we talk on wechat for details?

I have communicated with 曹亮@selectdb on wechat,and he confirmed the issue

CookingBoy avatar Jun 19 '23 06:06 CookingBoy