Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-13148 Address some HMS connection issues in HS2
  3. HIVE-13208

Properties setting from the client in Hive.conf may not pass to HMS properly

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • Metastore
    • None

    Description

      Seems we have some issues with HiveConf within Hive class. We are trying to compare the current conf against the saved conf within local thread Hive. If it's changed, then we need to recreate HMS client to pass the new conf to the HMS.

      While in some places, we are passing a reference of conf to Hive object and then updating conf and comparing will not trigger the creation of new HMS Client since it's the same conf object.

      And also we are setting db.getConf().set() in QTestUtils.java, but actually it may not work as expected since a HMS client may already exist.

      Attachments

        Activity

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

          People

            Unassigned Unassigned Assign to me
            aihuaxu Aihua Xu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment