WesternStar opened a new issue #2696: URL: https://github.com/apache/iceberg/issues/2696
After following the setup steps on this page [AWS Integration](https://github.com/apache/iceberg/blob/master/site/docs/aws.md) This setup uses AWS Glue as the hive metastore for EMR 6.3.0 and iceberg libraries built from a recent master So I've been starting with creating the table in Spark ``` spark-sql> CREATE TABLE my_catalog.iceberg_db.sample (id bigint COMMENT 'unique id', data string) USING iceberg TBLPROPERTIES('engine.hive.enabled'='true'); Time taken: 1.19 seconds spark-sql> INSERT INTO my_catalog.iceberg_db.sample VALUES (1, 'a'), (2, 'b'), (3, 'c'), (5, 'e') ``` And then attempting to query from HIVE ``` hive> > SET iceberg.engine.hive.enabled=true; hive> SET hive.vectorized.execution.enabled=false; hive> SET iceberg.catalog.glue.catalog-impl=org.apache.iceberg.aws.glue.GlueCatalog; hive> SET iceberg.catalog.glue.warehouse=s3://ap-dev01-data/amcnair/testing/iceberg/fix/; hive> SET iceberg.catalog.glue.lock-impl=org.apache.iceberg.aws.glue.DynamoLockManager; hive> SET iceberg.catalog.glue.lock.table=IcebergTestingAmcnair; hive> CREATE EXTERNAL TABLE iceberg_db.sample > STORED BY 'org.apache.iceberg.mr.hive.HiveIcebergStorageHandler' > TBLPROPERTIES ('iceberg.catalog'='glue','engine.hive.enabled'='true' ); SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException: MetaException(message:java.lang.NoClassDefFoundError Could not initialize class org.apache.iceberg.mr.hive.serde.objectinspector.IcebergObjectInspector) ``` Any advice on where I'm missing the object inspector for example? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
