Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
One of the major contributors to compilation latency is the retrieval of metadata from HMS. This JIRA introduces a caching layer in HS2 for this metadata. Its design is simple, relying on snapshot information being queried to cache and invalidate the metadata. This will help us to reduce the time spent in compilation by using HS2 memory more effectively, and it will allow us to improve HMS throughput for multi-tenant workloads by reducing the number of calls it needs to serve.
This patch only caches partition retrieval information, which is often one of the most costly metadata operations. It also sets the foundation to cache additional calls in follow-up work.
Attachments
Issue Links
- is related to
-
HIVE-25918 Invalid stats after multi inserting into the same partition
- Resolved
-
HIVE-24034 Add getTable to HS2 local cache
- Open
-
HIVE-24025 Add getAggrStatsFor to HS2 cache
- Closed
-
HIVE-24176 Create query-level cache for HMS requests and extend existing local HS2 HMS cache
- Closed
- Parent Feature
-
HIVE-23979 Resolve spotbugs errors in JsonReporter.java, Metrics.java, and PerfLogger.java
- Closed
-
HIVE-23978 Enable logging with PerfLogger in HMS client
- Open
- links to