hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From achou...@apache.org
Subject hbase git commit: HBASE-19094 NPE in RSGroupStartupWorker.waitForGroupTableOnline during master startup
Date Fri, 27 Oct 2017 12:21:14 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 15b32460f -> 4dee4a854


HBASE-19094 NPE in RSGroupStartupWorker.waitForGroupTableOnline during master startup


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/4dee4a85
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/4dee4a85
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/4dee4a85

Branch: refs/heads/master
Commit: 4dee4a854fece6516ba5006251898082c8fc161a
Parents: 15b3246
Author: Abhishek Singh Chouhan <achouhan@apache.org>
Authored: Thu Oct 26 19:40:06 2017 +0530
Committer: Abhishek Singh Chouhan <achouhan@apache.org>
Committed: Fri Oct 27 17:50:38 2017 +0530

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/4dee4a85/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java
----------------------------------------------------------------------
diff --git a/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java
b/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java
index e116f58..9520f5f 100644
--- a/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java
+++ b/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java
@@ -691,7 +691,9 @@ class RSGroupInfoManagerImpl implements RSGroupInfoManager {
                     if(cell != null) {
                       sn = ServerName.parseVersionedServerName(CellUtil.cloneValue(cell));
                     }
-                    if (tsm.isTableState(TableName.NAMESPACE_TABLE_NAME,
+                    if (sn == null) {
+                      nsFound.set(false);
+                    } else if (tsm.isTableState(TableName.NAMESPACE_TABLE_NAME,
                         TableState.State.ENABLED)) {
                       try {
                         ClientProtos.ClientService.BlockingInterface rs = conn.getClient(sn);


Mime
View raw message