You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "guoquan (JIRA)" <ji...@apache.org> on 2015/10/14 10:07:05 UTC
[jira] [Commented] (SENTRY-913) Thread safe improvement for sqoop
binding singleton
[ https://issues.apache.org/jira/browse/SENTRY-913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14956466#comment-14956466 ]
guoquan commented on SENTRY-913:
--------------------------------
LGTM +1. Thanks [~dapengsun]
> 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
> Attachments: SENTRY-913.001.patch
>
>
> 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)