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

Refactor HIVE-14054 to use Collections#newSetFromMap

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • Metastore
    • None

    Description

      There is a minor refactor that can be made to HiveMetaStoreChecker so that it cleanly creates and uses a set that is backed by a Map implementation. In this case, the underlying Map implementation is ConcurrentHashMap. This refactor will help prevent issues such as the one reported in HIVE-14054.

      Attachments

        1. HIVE-14290.1.patch
          3 kB
          Peter Slawski
        2. HIVE-14290.1.patch
          3 kB
          Peter Slawski
        3. HIVE-14290.1.patch
          3 kB
          Peter Slawski

        Issue Links

        Activity

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

          People

            petersla Peter Slawski Assign to me
            petersla Peter Slawski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment