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

Refactor HIVE-14054 to use Collections#newSetFromMap

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: Metastore
    • Labels:
      None
    • Target Version/s:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: