ソースを参照

commit 2b1cde1400a575fa10386c0fa5b56d8bf82f716f
Author: Owen O'Malley <omalley@apache.org>
Date: Sun Mar 21 14:10:53 2010 -0700

HADOOP-6653. Protect against NPE in setupSaslConnection when the real user
is NULL.

+++ b/YAHOO-CHANGES.txt
+ HADOOP-6653. Protect against NPE in setupSaslConnection when real user is
+ null. (omalley)
+


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-patches@1077355 13f79535-47bb-0310-9956-ffa450edef68

Owen O'Malley 14 年 前
コミット
5fbf3e1236
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/core/org/apache/hadoop/ipc/Client.java

+ 1 - 1
src/core/org/apache/hadoop/ipc/Client.java

@@ -366,7 +366,7 @@ public class Client {
             UserGroupInformation.isLoginKeytabBased() &&
             // relogin only in case it is the login user (e.g. JT)
             // or superuser (like oozie).
-            (currentUser.equals(loginUser) || realUser.equals(loginUser))) {
+            (currentUser.equals(loginUser) || loginUser.equals(realUser))) {
           //try setting up the connection again
           try {
             //try re-login