Details
Description
This method lazily initializes a static variable to contain an empty array of groups. If multiple threads call the method before the variable has been initialized, then there is potential for a race condition. This would cause multiple allocations of the array and leaked memory.
Attachments
Issue Links
- relates to
-
HADOOP-9232 JniBasedUnixGroupsMappingWithFallback fails on Windows with UnsatisfiedLinkError
- Resolved
-
HADOOP-9439 JniBasedUnixGroupsMapping: fix some crash bugs
- Closed