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:24:56 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-2 8e6d116ae -> f981de5bb


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/f981de5b
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f981de5b
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f981de5b

Branch: refs/heads/branch-2
Commit: f981de5bb9397c133922f691a1df8e2c18b42ac2
Parents: 8e6d116
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:52:06 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/f981de5b/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