- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Failed to create table with kudu storage ( CDH 6.3 )
- Labels:
-
Apache Impala
-
Apache Kudu
Created on
‎02-11-2020
11:32 PM
- last edited on
‎02-12-2020
02:24 AM
by
VidyaSargur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Impala v3.2.0-cdh6.3.2
- kudu 1.10.0-cdh6.3.2
CREATE TABLE test_mlee
(
id BIGINT,
name STRING,
PRIMARY KEY(id)
)
PARTITION BY HASH PARTITIONS 16
STORED AS KUDU
ERROR: IllegalArgumentException: null
Any comment is appreciated Thank you in advance.
Created ‎02-13-2020 02:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Thank you for your comment.
Yesterday, I got a comment from HaoHao about this issue.
The issue not being able to create KUDU table on CDH 6.3.2 is related to remote HMS configuration in hive-site.xml
KuduTable.java ( on CDH 6.3.2 ) has a logic validating if `hmsuris` is null or empty.
If `hmsuris` is empty or null, it raises exception and fails.
This has been fixed on master branch, but I'm not sure if this fix will be delivered with CDH 6.3.3
Can you confirm if the fix is shipped with CDH 6.3.3?
Here is the bug report ticket.
Created ‎02-13-2020 09:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, it seems you didn't specify what column to partition by. Maybe in previous version Impala was able to infer it in case, but I don't think this was ever an intended behavior, maybe a fortunate side effect of a bug that was fixed since. In any case, you need to write
PARTITION BY HASH(id)
Created ‎02-13-2020 02:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Thank you for your comment.
Yesterday, I got a comment from HaoHao about this issue.
The issue not being able to create KUDU table on CDH 6.3.2 is related to remote HMS configuration in hive-site.xml
KuduTable.java ( on CDH 6.3.2 ) has a logic validating if `hmsuris` is null or empty.
If `hmsuris` is empty or null, it raises exception and fails.
This has been fixed on master branch, but I'm not sure if this fix will be delivered with CDH 6.3.3
Can you confirm if the fix is shipped with CDH 6.3.3?
Here is the bug report ticket.
