Dapeng Sun created SENTRY-913:
---------------------------------
Summary: Thread safe improvement for sqoop binding singleton
Key: SENTRY-913
URL: https://issues.apache.org/jira/browse/SENTRY-913
Project: Sentry
Issue Type: Improvement
Reporter: Dapeng Sun
Assignee: Dapeng Sun
public static SqoopAuthBindingSingleton getInstance() {
if (instance != null) {
return instance;
}
instance = new SqoopAuthBindingSingleton();
return instance;
}
getInstance() has Thread safe issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)