You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/09/18 05:58:32 UTC
[GitHub] [iceberg] liuhd666 commented on issue #3146: beeline query iceberg table error
liuhd666 commented on issue #3146:
URL: https://github.com/apache/iceberg/issues/3146#issuecomment-922209122
sometimes report this error:
0: jdbc:hive2://xxx:218> select * from iceberg_test;
INFO : Compiling command(queryId=hive_20210918134550_136a108f-6791-4c3a-ac0b-25cde234c7a7): select * from iceberg_test
INFO : Semantic Analysis Completed
INFO : Returning Hive schema: Schema(fieldSchemas:[FieldSchema(name:iceberg_test.id, type:bigint, comment:null), FieldSchema(name:iceberg_test.name, type:string, comment:null)], properties:null)
INFO : Completed compiling command(queryId=hive_20210918134550_136a108f-6791-4c3a-ac0b-25cde234c7a7); Time taken: 1.196 seconds
INFO : Concurrency mode is disabled, not creating a lock manager
INFO : Executing command(queryId=hive_20210918134550_136a108f-6791-4c3a-ac0b-25cde234c7a7): select * from iceberg_test
INFO : Completed executing command(queryId=hive_20210918134550_136a108f-6791-4c3a-ac0b-25cde234c7a7); Time taken: 0.027 seconds
INFO : OK
Error: java.io.IOException: java.lang.ClassCastException: org.apache.iceberg.mr.mapred.Container cannot be cast to org.apache.iceberg.mr.mapred.Container (state=,code=0)
0: jdbc:hive2://xxx:218> set iceberg.mr.reuse.containers=true;
Error: Error while processing statement: Cannot modify iceberg.mr.reuse.containers at runtime. It is not in list of params that are allowed to be modified at runtime (state=42000,code=1)
hive version:2.1.1
create table ddl:
CREATE TABLE iceberg_test(id bigint, name string) STORED BY 'org.apache.iceberg.mr.hive.HiveIcebergStorageHandler';
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org