Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-16520 Cache hive metadata in metastore
  3. HIVE-18661

CachedStore: Use metastore notification log events to update cache

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Metastore

    Description

      Currently, a background thread updates the entire cache which is pretty inefficient. We capture the updates to metadata in NOTIFICATION_LOG table which is getting used in the Replication work. We should have the background thread apply these notifications to incrementally update the cache.

      Attachments

        1. HIVE-18661.02.patch
          656 kB
          mahesh kumar behera
        2. HIVE-18661.03.patch
          656 kB
          mahesh kumar behera
        3. HIVE-18661.04.patch
          671 kB
          mahesh kumar behera
        4. HIVE-18661.05.patch
          673 kB
          mahesh kumar behera
        5. HIVE-18661.06.patch
          684 kB
          mahesh kumar behera
        6. HIVE-18661.07.patch
          685 kB
          mahesh kumar behera
        7. HIVE-18661.08.patch
          195 kB
          mahesh kumar behera
        8. HIVE-18661.09.patch
          208 kB
          mahesh kumar behera

        Activity

          People

            maheshk114 mahesh kumar behera
            vgumashta Vaibhav Gumashta
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m