Created on 02-11-2020 11:32 PM - last edited on 02-12-2020 02:24 AM by VidyaSargur
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
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
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
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.