Skip to content

Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.iceberg.mr.hive.serde.objectinspector.IcebergObjectInspector #5267

@zfno111

Description

@zfno111

hive: 2.3.4
iceberg-hive-metastore-0.11.1.jar

when i create table like that:
0: jdbc:hive2://10.0.5.66:10000/default> CREATE EXTERNAL TABLE iceberg_hive( . . . . . . . . . . . . . . . . . . . .> idint, . . . . . . . . . . . . . . . . . . . .> name string) . . . . . . . . . . . . . . . . . . . .> STORED BY 'org.apache.iceberg.mr.hive.HiveIcebergStorageHandler' . . . . . . . . . . . . . . . . . . . .> LOCATION . . . . . . . . . . . . . . . . . . . .> 'hdfs://10.0.5.66:9000/tmp/warehouse/test/iceberg_hive'; FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Could not initialize class org.apache.iceberg.mr.hive.serde.objectinspector.IcebergObjectInspector Error: org.apache.hive.service.cli.HiveSQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Could not initialize class org.apache.iceberg.mr.hive.serde.objectinspector.IcebergObjectInspector at org.apache.hive.service.cli.operation.Operation.toSQLException(Operation.java:380) at org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:257) at org.apache.hive.service.cli.operation.SQLOperation.access$800(SQLOperation.java:91) at org.apache.hive.service.cli.operation.SQLOperation$BackgroundWork$1.run(SQLOperation.java:348) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1911) at org.apache.hive.service.cli.operation.SQLOperation$BackgroundWork.run(SQLOperation.java:362) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.iceberg.mr.hive.serde.objectinspector.IcebergObjectInspector

anyone face the same problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions