You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2021/10/29 16:24:14 UTC
[hbase] branch master updated: Amend HBASE-26353 Support loadable
dictionaries in hbase-compression-zstd (#3787)
This is an automated email from the ASF dual-hosted git repository.
apurtell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new ff11f11 Amend HBASE-26353 Support loadable dictionaries in hbase-compression-zstd (#3787)
ff11f11 is described below
commit ff11f1115f2c20c078e889ecbf27dbad2db0426d
Author: Andrew Purtell <ap...@apache.org>
AuthorDate: Fri Oct 29 09:19:08 2021 -0700
Amend HBASE-26353 Support loadable dictionaries in hbase-compression-zstd (#3787)
Resolve a new spotbugs warning in DictionaryCache
Signed-off-by: Andrew Purtell <apache.org>
---
.../main/java/org/apache/hadoop/hbase/io/compress/DictionaryCache.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/io/compress/DictionaryCache.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/io/compress/DictionaryCache.java
index 3d3fb2a..f9508bf 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/io/compress/DictionaryCache.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/io/compress/DictionaryCache.java
@@ -46,7 +46,7 @@ public final class DictionaryCache {
public static final String RESOURCE_SCHEME = "resource://";
private static final Logger LOG = LoggerFactory.getLogger(DictionaryCache.class);
- private static LoadingCache<String, byte[]> CACHE;
+ private static volatile LoadingCache<String, byte[]> CACHE;
private DictionaryCache() { }