You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2015/04/10 03:40:59 UTC
[1/2] hbase git commit: HBASE-13445 RpcServer.Call change in backport
of HBASE-13397 not sufficiently backwards compatible
Repository: hbase
Updated Branches:
refs/heads/0.98 0324a273f -> bbf8bf436
HBASE-13445 RpcServer.Call change in backport of HBASE-13397 not sufficiently backwards compatible
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/9f767463
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/9f767463
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/9f767463
Branch: refs/heads/0.98
Commit: 9f767463d7129c888129f142f9a73d6e902000fd
Parents: 0324a27
Author: Andrew Purtell <ap...@apache.org>
Authored: Thu Apr 9 18:32:05 2015 -0700
Committer: Andrew Purtell <ap...@apache.org>
Committed: Thu Apr 9 18:33:43 2015 -0700
----------------------------------------------------------------------
.../src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/9f767463/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
----------------------------------------------------------------------
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 0e7efb9..2cc71a3 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
@@ -327,7 +327,11 @@ public class RpcServer implements RpcServerInterface {
this.isError = false;
this.size = size;
this.tinfo = tinfo;
- this.user = connection.user == null? null: userProvider.create(connection.user);
+ if (connection != null && connection.user != null) {
+ this.user = userProvider.create(connection.user);
+ } else {
+ this.user = null;
+ }
this.remoteAddress = remoteAddress;
}
[2/2] hbase git commit: Update CHANGES.txt after HBASE-13445
Posted by ap...@apache.org.
Update CHANGES.txt after HBASE-13445
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/bbf8bf43
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/bbf8bf43
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/bbf8bf43
Branch: refs/heads/0.98
Commit: bbf8bf4362e858bd9bd0511c9289c31b09b7a927
Parents: 9f76746
Author: Andrew Purtell <ap...@apache.org>
Authored: Thu Apr 9 18:40:12 2015 -0700
Committer: Andrew Purtell <ap...@apache.org>
Committed: Thu Apr 9 18:40:12 2015 -0700
----------------------------------------------------------------------
CHANGES.txt | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/bbf8bf43/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index d80d7b0..269e8f5 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -47,6 +47,7 @@ Release 0.98.12 - 4/17/2015
* [HBASE-13409] - Add categories to uncategorized tests
* [HBASE-13422] - remove use of StandardCharsets in 0.98
* [HBASE-13433] - Backward compatibility in 1.0.z for shell broken for get_counter
+ * [HBASE-13445] - RpcServer.Call change in backport of HBASE-13397 not sufficiently backwards compatible
** Improvement
* [HBASE-6919] - Remove unnecessary throws IOException from Bytes.readVLong