Skip to content

Commit a53feba

Browse files
saintstackJenkins
authored andcommitted
HBASE-23244 NPEs running Canary (apache#784)
Addendum to fix findbugs complaint. (cherry picked from commit 180fa3e) Change-Id: I0c451cc915dfc42be07bd2f7bb9d52bb7e1d99b4
1 parent d21b451 commit a53feba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hbase-server/src/main/java/org/apache/hadoop/hbase/tool/CanaryTool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ public Void read() {
492492
sink.publishReadTiming(serverName, region, column, stopWatch.getTime());
493493
} catch (Exception e) {
494494
sink.publishReadFailure(serverName, region, column, e);
495-
sink.updateReadFailures(region == null? "NULL": region.getRegionNameAsString(),
495+
sink.updateReadFailures(region.getRegionNameAsString(),
496496
serverName == null? "NULL": serverName.getHostname());
497497
} finally {
498498
if (rs != null) {

0 commit comments

Comments
 (0)