commit | d5f8300c082a75ce8edbbe08b66f077e7d663a4a | [log] [tgz] |
---|---|---|
author | Andrew Purtell <apurtell@apache.org> | Fri Jan 15 18:42:29 2016 -0800 |
committer | Andrew Purtell <apurtell@apache.org> | Fri Jan 15 18:42:32 2016 -0800 |
tree | 1ea30796378639f0891f840e18c1731880333937 | |
parent | 8189b0f255023c6d2e10565275979cea23f87e7d [diff] |
Amend HBASE-14512 Cache UGI groups Handle the case where tests might create a call with a null connection
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java index 458a6b2..a9f5bf4 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
@@ -337,7 +337,7 @@ this.isError = false; this.size = size; this.tinfo = tinfo; - this.user = connection.user; + this.user = connection == null ? null : connection.user; this.remoteAddress = remoteAddress; }