hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject [hbase] branch master updated: HBASE-23244 NPEs running Canary (#784)
Date Sat, 02 Nov 2019 16:35:24 GMT
This is an automated email from the ASF dual-hosted git repository.

stack 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 3ccfd50  HBASE-23244 NPEs running Canary (#784)
3ccfd50 is described below

commit 3ccfd50bd937571aeed3033561b7ca52c967f105
Author: stack <stack@apache.org>
AuthorDate: Sat Nov 2 09:33:48 2019 -0700

    HBASE-23244 NPEs running Canary (#784)
    
    Addendum to fix findbugs complaint.
---
 hbase-server/src/main/java/org/apache/hadoop/hbase/tool/CanaryTool.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/CanaryTool.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/CanaryTool.java
index a967dab..4f59cf3 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/CanaryTool.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/CanaryTool.java
@@ -492,7 +492,7 @@ public class CanaryTool implements Tool, Canary {
           sink.publishReadTiming(serverName, region, column, stopWatch.getTime());
         } catch (Exception e) {
           sink.publishReadFailure(serverName, region, column, e);
-          sink.updateReadFailures(region == null? "NULL": region.getRegionNameAsString(),
+          sink.updateReadFailures(region.getRegionNameAsString(),
               serverName == null? "NULL": serverName.getHostname());
         } finally {
           if (rs != null) {


Mime
View raw message