Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-19310

Metastore: MetaStoreDirectSql.ensureDbInit has some slow DN calls which might need to be run only in test env

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • Metastore
    • None

    Description

      MetaStoreDirectSql.ensureDbInit has the following 2 calls which we have observed taking a long time in our testing:

      initQueries.add(pm.newQuery(MNotificationLog.class, "dbName == ''"));
      initQueries.add(pm.newQuery(MNotificationNextId.class, "nextEventId < -1"));
      

      In a production environment, these tables should be initialized using schematool, however in a test environment, these calls might be needed.

      Attachments

        1. HIVE-19310.1.patch
          2 kB
          Vaibhav Gumashta
        2. HIVE-19310.02.patch
          1.0 kB
          Sergey Shelukhin
        3. HIVE-19310.03.patch
          1.0 kB
          Sergey Shelukhin

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sershe Sergey Shelukhin Assign to me
            vgumashta Vaibhav Gumashta
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment