flyrain opened a new pull request, #5378:
URL: https://github.com/apache/iceberg/pull/5378

   Hive 3+ allows users to set the default catalog name within the same HMS. A 
job can have two Spark catalogs configured the same uri with a different 
catalog name as the following example shows.
   ```
   "spark.sql.catalog.catalog2": "org.apache.iceberg.spark.SparkCatalog",
   "spark.sql.catalog.catalog2.hadoop.metastore.catalog.default": "catalog1",
   "spark.sql.catalog.catalog2.type": "hive",
   "spark.sql.catalog.catalog2.uri": "thrift://hms.com:8092",
   
   "spark.sql.catalog.catalog2": "org.apache.iceberg.spark.SparkCatalog",
   "spark.sql.catalog.catalog2.hadoop.metastore.catalog.default": "catalog2",
   "spark.sql.catalog.catalog2.type": "hive",
   "spark.sql.catalog.catalog2.uri": "thrift://hms.com:8092",
   ```
   We need to distinguish them in cached hive client pool.
   @szehon-ho @RussellSpitzer 


-- 
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-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to