-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Hive3 Metastore Multi Catalog Support #5912
Comments
CC @mchades |
I think here the thing we should think is how to mapping the hive3 namespace to Gravitino's namespace. It is not like hive2 that uses db/table namespace, hive3 added another layer of |
related issue: #5850 |
We have the following scenarios.
In summary, Gravitino can create multiple catalogs, and these catalogs can point to different catalogs of the same Hive metastore. The current version of the HMS client used by Gravitino is 2, and we need to add support for version 3 to cover our scenarios. I have two ideas on how to proceed.
Do you have any suggestions? |
Personally, I don't have a deep think about how to support S3 for now. Namespace mapping may just one problem, it also includes access control support (Ranger), and engine support (Spark, Trino), etc. I think we should have a deep investigation to gain a better understanding. |
Hive 3 support draftRegarding this feature, we had a brief discussion, and here are the results of the discussion.· For catalogAdd the catalog-hive3 module in the catalogs module, and then use the IsolatedClassLoader from CatalogManager to isolate the classes of hive2 and hive3. For Enginesparkjust add spark config trinoshould add hive3 support for trino, but this is already an issue for trino support hive3 multi catalog detail flinkPassing the catalog parameter to BaseCatalog may take effect, but I'm not sure about Flink. For RangerWe plan to support it in the future, but there is no conclusion yet. |
Hi @an-shi-chi-fan , thanks for your draft proposal about Hive3 support! Could you kindly transfer the design to a Google document and provide the link for us to engage in discussions more conveniently, allowing for easier refinement of the design? |
ok |
Describe the feature
hive3 metastore catalog support
Motivation
hive3 metastore support multi catalog
Describe the solution
like spark config
spark.sql.hive.metastore.version
, let user choose which version to useAdditional context
No response
The text was updated successfully, but these errors were encountered: