From d15ae0e6abea3e25838df6f8850c9593248fe6a4 Mon Sep 17 00:00:00 2001 From: stack Date: Mon, 7 Mar 2016 16:34:11 -0800 Subject: [PATCH] HBASE-15261 Make Throwable t in DaughterOpener volatile (Huaxiang Sun) --- .../apache/hadoop/hbase/regionserver/SplitTransactionImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransactionImpl.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransactionImpl.java index 70d040eb84c..716d856537f 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransactionImpl.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransactionImpl.java @@ -564,7 +564,7 @@ public class SplitTransactionImpl implements SplitTransaction { private class DaughterOpener extends HasThread { private final Server server; private final Region r; - private Throwable t = null; + private volatile Throwable t = null; DaughterOpener(final Server s, final Region r) { super((s == null? "null-services": s.getServerName()) +