hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1077355 - /hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/ipc/Client.java
Date Fri, 04 Mar 2011 04:06:36 GMT
Author: omalley
Date: Fri Mar  4 04:06:35 2011
New Revision: 1077355

URL: http://svn.apache.org/viewvc?rev=1077355&view=rev
Log:
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)
    +

Modified:
    hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/ipc/Client.java

Modified: hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/ipc/Client.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/ipc/Client.java?rev=1077355&r1=1077354&r2=1077355&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/ipc/Client.java
(original)
+++ hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/ipc/Client.java
Fri Mar  4 04:06:35 2011
@@ -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



Mime
View raw message