Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Patch
Description
The SqoopAuthBindingSingleton uses the bad double check locking idiom:
An easy solution is just to make the variable volatile, but a much better approach is to use the Lazy init holder class idiom, which avoid synchronization altogether.