Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
At the moment the cache object used in GenericUDTFJSONTuple is a static linked hashmap that is not thread-safe. In the case of HoS it may be accessed concurrently and has race conditions. In particular, its size may overgrow even though the limit is 32. This can be observed from the attached image.
An easy way to fix it is to make it non-static.