Skip to content

Commit ff11f11

Browse files
committed
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>
1 parent e0eaec6 commit ff11f11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hbase-common/src/main/java/org/apache/hadoop/hbase/io/compress/DictionaryCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public final class DictionaryCache {
4646
public static final String RESOURCE_SCHEME = "resource://";
4747

4848
private static final Logger LOG = LoggerFactory.getLogger(DictionaryCache.class);
49-
private static LoadingCache<String, byte[]> CACHE;
49+
private static volatile LoadingCache<String, byte[]> CACHE;
5050

5151
private DictionaryCache() { }
5252

0 commit comments

Comments
 (0)