You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "leichangqing (via GitHub)" <gi...@apache.org> on 2023/02/18 13:12:53 UTC

[GitHub] [iceberg] leichangqing commented on issue #6522: iceberg-1.1.0 - flink sql create hive catalog error

leichangqing commented on issue #6522:
URL: https://github.com/apache/iceberg/issues/6522#issuecomment-1435667169

   
   <img width="1027" alt="image" src="https://user-images.githubusercontent.com/36058877/219867698-c745b74b-11cf-463f-8b37-89eb14d9f529.png">
   
   # HADOOP_HOME is your hadoop root directory after unpack the binary package.
   export HADOOP_CLASSPATH=`$HADOOP_HOME/bin/hadoop classpath`
   
   # Start the flink standalone cluster
   /app/flink/bin/sql-client.sh embedded \
   -j '/app/flink/lib/iceberg-flink-runtime-1.16-1.1.0.jar' \
   -j '/app/flink/lib/flink-sql-connector-hive-3.1.2_2.12-1.16.1.jar' \
   shell
   ~       
   
   java.lang.ClassCastException: org.apache.iceberg.hive.HiveCatalog cannot be cast to org.apache.iceberg.catalog.Catalog


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