Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-1570

One task failure in MetastoreCacheInitializer should not cause HMS not to start

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.1
    • Fix Version/s: None
    • Component/s: Hive Plugin
    • Labels:
      None

      Description

      Seems it's common that HMS metastore may have incorrect metadata for one or more databases/tables/partitions due to various reasons (see SENTRY-1564). Right now, HMS will not start properly if MetastoreCacheInitializer fails to initialize authzPath and the whole Hive service becomes unusable.

      Propose to continue the cache initialization even there is a task failure. The databases/tables with the issues will be unusable until the authzPath cache for them is built.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aihuaxu Aihua Xu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: