FANNG1 commented on issue #7953: URL: https://github.com/apache/gravitino/issues/7953#issuecomment-3219454204
This is a general problem not limited to Hive metastore uri and Spark, How to handle the Gravitino catalog properties in different networks? propose adding `gravitino.region.$regionName.$propertyName` properties to represent different properties in different network(`region`), take `metastore.uri` for example, we could define `gravitino.region.north.metastore.uri` in catalog properties, in Gravitino client side, we could extract the corresponding `metastore.uri` according to the `gravitino.region.name` configuration or `GRAVITINO_REGION_NAME` environment variables, if there are no region variables, the client will use the default `metastore.uri`, @jerryshao @blackfaced WDYT? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
