zfno111 opened a new issue, #5267:
URL: https://github.com/apache/iceberg/issues/5267

   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`(
   . . . . . . . . . . . . . . . . . . . .>   `id` int, 
   . . . . . . . . . . . . . . . . . . . .>   `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?
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to