zhengqiangtan commented on issue #2057:
URL: https://github.com/apache/iceberg/issues/2057#issuecomment-758438596


   > I think maybe jar conflict,could you describe your environment more 
detail? For example, the flink cluster is yarn session or standalone? Have you 
put iceberg-flink-runtime-xxx.jar and flink-sql-connector-hive-xxx.jar on the 
classpath? Currently the hive version integrated by iceberg is 2.3.6. Can you 
test whether there is a problem with this version?
   
   thanks a lot, there is have two 
jars(iceberg-flink-runtime-0.10.0.jar,iceberg-hive-0.9.1.jar) in the flink lib 
directory,when i move  the iceberg-hive-0.9.1.jar  out and run 
`bin/sql-client.sh embedded shell` that is ok for me , hive catalog can be 
created success as follow :
   ```shell
   Flink SQL> CREATE CATALOG hive_catalog WITH (
   >   'type'='iceberg',
   >   'catalog-type'='hive',
   >   'uri'='thrift://zmbd-uat03:9083',
   >   'clients'='3',
   >   'property-version'='1',
   >   'warehouse'='hdfs://nameservice1/user/hive/warehouse'
   > );
   2021-01-12 14:26:56,009 WARN  org.apache.hadoop.hive.conf.HiveConf           
              [] - HiveConf of name hive.vectorized.use.checked.expressions 
does not exist
   2021-01-12 14:26:56,009 WARN  org.apache.hadoop.hive.conf.HiveConf           
              [] - HiveConf of name hive.strict.checks.no.partition.filter does 
not exist
   2021-01-12 14:26:56,010 WARN  org.apache.hadoop.hive.conf.HiveConf           
              [] - HiveConf of name hive.strict.checks.orderby.no.limit does 
not exist
   2021-01-12 14:26:56,010 WARN  org.apache.hadoop.hive.conf.HiveConf           
              [] - HiveConf of name hive.vectorized.input.format.excludes does 
not exist
   2021-01-12 14:26:56,010 WARN  org.apache.hadoop.hive.conf.HiveConf           
              [] - HiveConf of name hive.strict.checks.bucketing does not exist
   [INFO] Catalog has been created.
   ```


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

Reply via email to