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

BytesBytesMultiHashMap::clear() can't be concurrently used with reads

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0
    • llap
    • None
    • None

    Description

      The semantics of the HashMap::clear() is unclear for concurrent access.

      With HIVE-10128 fixes, the only remaining thread-safety concern is the behaviour of clear() calls.

      Concurrent usage + clearing from HybridHash and VectorMapJoin operator will result in race conditions.

      There is no valid clear() operations possible without knowledge of the cached nature and the ref-count of each hashtable.

      Attachments

        Issue Links

          Activity

            People

              sershe Sergey Shelukhin
              gopalv Gopal Vijayaraghavan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: