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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.5.1
    • None
    • Hive Plugin
    • 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

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

            Dates

              Created:
              Updated: