zuoyebushiwo opened a new issue #1883:
URL: https://github.com/apache/iceberg/issues/1883
this my step:
CREATE CATALOG hive_catalog WITH (
'type'='iceberg',
'catalog-type'='hive',
'uri'='thrift://hd-node-3-41.wakedata.com:9083',
'clients'='5',
'property-version'='1',
'warehouse'='hdfs://HDFSCluster/warehouse'
);
CREATE DATABASE iceberg_db;
use CATALOG hive_catalog;
use iceberg_db;
CREATE TABLE hive_catalog.iceberg_db.sample (
id BIGINT COMMENT 'unique id',
data STRING
) ;
SET execution.type = batch;
INSERT hive_catalog.iceberg_db.sample VALUES (1, 'a');
flink sql query is ok!
I think it should be query by hive engine, so i dot it like:
add jar hdfs://HDFSCluster/user/flink/iceberg-hive-runtime-0.10.0.jar;
use iceberg_db;
select * from sample;
but error happened!
Error: java.io.IOException: java.io.IOException: Cannot create an instance
of InputFormat class org.apache.hadoop.mapred.FileInputFormat as specified in
mapredWork! (state=,code=0)
help me! thanks.
----------------------------------------------------------------
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]