Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Using Hadoop Iceberg catalog with Hive engine on CDP 7.2
Labels:
- Labels:
-
Apache Iceberg
Explorer
Created ‎01-17-2024 06:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Based on this example in Iceberg doc I tried to create a table using a custom hadoop catalog.
Using Hue in CDP 7.2 I performed
SET iceberg.catalog.hadoop_cat.type=hadoop;
SET iceberg.catalog.hadoop_cat.warehouse=s3a://my-bucket/hadoop_cat_warehouse;
CREATE TABLE iceberg_hadoop_cat_table (id Integer,name String) STORED BY 'org.apache.iceberg.mr.hive.HiveIcebergStorageHandler' TBLPROPERTIES ('iceberg.catalog'='hadoop_cat');
But received
Error while compiling statement: FAILED: Execution Error, return code 40000 from org.apache.hadoop.hive.ql.ddl.DDLTask. java.lang.IllegalArgumentException: Table location not set
Did I miss something ? Is CDP suporting that ?
Thanks,
Laurent
1 REPLY 1
Expert Contributor
Created ‎02-15-2024 06:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @lbourgeois
Can you try creating table using CREATE EXTERNAL TABLE command.
Let us know if this works
