You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by sr...@apache.org on 2017/09/22 14:45:18 UTC
[1/2] storm git commit: STORM-2750: fix double_checked locking
Repository: storm
Updated Branches:
refs/heads/master 66ff5fd94 -> 8e90ffc2b
STORM-2750: fix double_checked locking
update HBaseSecurityUtil singleton to fix double_checked, http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html
Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/c78eb0d5
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/c78eb0d5
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/c78eb0d5
Branch: refs/heads/master
Commit: c78eb0d522e97cc00136b46e1188ba08a5ca9d9c
Parents: 559053d
Author: xiaoyong03 <fu...@126.com>
Authored: Wed Sep 20 16:44:24 2017 +0800
Committer: xiaoyong03 <fu...@126.com>
Committed: Fri Sep 22 11:55:37 2017 +0800
----------------------------------------------------------------------
.../java/org/apache/storm/hbase/security/HBaseSecurityUtil.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/storm/blob/c78eb0d5/external/storm-autocreds/src/main/java/org/apache/storm/hbase/security/HBaseSecurityUtil.java
----------------------------------------------------------------------
diff --git a/external/storm-autocreds/src/main/java/org/apache/storm/hbase/security/HBaseSecurityUtil.java b/external/storm-autocreds/src/main/java/org/apache/storm/hbase/security/HBaseSecurityUtil.java
index 65dcd6f..1afdf63 100644
--- a/external/storm-autocreds/src/main/java/org/apache/storm/hbase/security/HBaseSecurityUtil.java
+++ b/external/storm-autocreds/src/main/java/org/apache/storm/hbase/security/HBaseSecurityUtil.java
@@ -45,7 +45,7 @@ public class HBaseSecurityUtil {
public static final String HBASE_KEYTAB_FILE_KEY = "hbase.keytab.file";
public static final String HBASE_PRINCIPAL_KEY = "hbase.kerberos.principal";
- private static UserProvider legacyProvider = null;
+ private static volatile UserProvider legacyProvider = null;
private HBaseSecurityUtil() {
}
[2/2] storm git commit: Merge branch 'master' of
https://github.com/xiaoyong03/storm into STORM-2750-merge
Posted by sr...@apache.org.
Merge branch 'master' of https://github.com/xiaoyong03/storm into STORM-2750-merge
Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/8e90ffc2
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/8e90ffc2
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/8e90ffc2
Branch: refs/heads/master
Commit: 8e90ffc2bff714aaa945d24620fb3154d264127a
Parents: 66ff5fd c78eb0d
Author: Stig Rohde Døssing <sr...@apache.org>
Authored: Fri Sep 22 16:44:12 2017 +0200
Committer: Stig Rohde Døssing <sr...@apache.org>
Committed: Fri Sep 22 16:44:12 2017 +0200
----------------------------------------------------------------------
.../java/org/apache/storm/hbase/security/HBaseSecurityUtil.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------