[Feature] HiveCatalog to commit to tables can we use environmentContext instead of hive locks to provide transactional commits?
Search before asking
- [X] I searched in the issues and found nothing similar.
Motivation
It can be big pressure when lots of table use hive locks to provide transaction, so can we use environmentContext instead of hive locks?
Solution
No response
Anything else?
No response
Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
I don't know what is environmentContext lock, can you explain more? Or provide a example.
https://github.com/apache/hive/pull/3888 changes HMS API , we can use "hive_metastoreConstants.EXPECTED_PARAMETER_KEY" or "hive_metastoreConstants.EXPECTED_PARAMETER_VALUE" to commit instead of 4 HMS calls
It seems there are some problem for this feature, see the discussion in: https://issues.apache.org/jira/browse/HIVE-26882
Let's keep an eye on it.
https://issues.apache.org/jira/browse/HIVE-26882 has been resolved, there will be a plan to make some improvement on hivelock?