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

Refactor HIVE-14054 to use Collections#newSetFromMap

    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

            People

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

              Dates

                Created:
                Updated:
                Resolved: