Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get field from serde: org.apache.iceberg.mr.hive.HiveIcebergSerDe #10633

Closed
Sourabh-Dilraj opened this issue Jul 5, 2024 · 2 comments
Labels
question Further information is requested

Comments

@Sourabh-Dilraj
Copy link

Query engine

HIve

Question

I am using HIve branch-4.0.0-alpha-1 , I have placed iceberg-hive-runtime-1.6.0-SNAPSHOT.jar jar in hive/lib/ dir.
Also made all the required configurations, but when I am trying to create an external table SORTED by iceberg using hive, it is throwing :
org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.NullPointerException
ERROR : DDLTask failed, DDL Operation: class org.apache.hadoop.hive.ql.ddl.table.create.CreateTableOperation
ERROR : FAILED: Execution Error, return code 40000 from org.apache.hadoop.hive.ql.ddl.DDLTask. java.lang.NullPointerException
INFO : Completed executing command(queryId=hive_20240705113346_0195bea3-cf74-40fb-b965-3fc71b222d60); Time taken: 0.013 seconds
Error: Error while compiling statement: FAILED: Execution Error, return code 40000 from org.apache.hadoop.hive.ql.ddl.DDLTask. java.lang.NullPointerException (state=08S01,code=40000)

@Sourabh-Dilraj Sourabh-Dilraj added the question Further information is requested label Jul 5, 2024
@pvary
Copy link
Contributor

pvary commented Jul 5, 2024

Hive 4 uses its own embedded Iceberg. You don't need to add additional jars to the lib.

@pvary
Copy link
Contributor

pvary commented Jul 5, 2024

Also this is most probably a Hive related questions, so better asked on the Hive user list.

@pvary pvary closed this as completed Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants