hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1077293 - /hadoop/common/branches/branch-0.20-security-patches/src/hdfs/org/apache/hadoop/hdfs/server/namenode/NameNode.java
Date Fri, 04 Mar 2011 04:00:34 GMT
Author: omalley
Date: Fri Mar  4 04:00:34 2011
New Revision: 1077293

URL: http://svn.apache.org/viewvc?rev=1077293&view=rev
Log:
commit be0e4755ac15d6bf1fc7828b72de62878e9d6be3
Author: Jakob Homan <jhoman@yahoo-inc.com>
Date:   Fri Mar 5 16:40:30 2010 -0800

    HDFS:1023 from https://issues.apache.org/jira/secure/attachment/12437962/HADOOP-1023-Y20-1.patch
    
    +++ b/YAHOO-CHANGES.txt
    +    HDFS-1023. Update to original patch to fix username (jhoman)
    +

Modified:
    hadoop/common/branches/branch-0.20-security-patches/src/hdfs/org/apache/hadoop/hdfs/server/namenode/NameNode.java

Modified: hadoop/common/branches/branch-0.20-security-patches/src/hdfs/org/apache/hadoop/hdfs/server/namenode/NameNode.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/src/hdfs/org/apache/hadoop/hdfs/server/namenode/NameNode.java?rev=1077293&r1=1077292&r2=1077293&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/src/hdfs/org/apache/hadoop/hdfs/server/namenode/NameNode.java
(original)
+++ hadoop/common/branches/branch-0.20-security-patches/src/hdfs/org/apache/hadoop/hdfs/server/namenode/NameNode.java
Fri Mar  4 04:00:34 2011
@@ -232,8 +232,8 @@ public class NameNode implements ClientP
       } else {
         // Kerberized SSL servers must be run from the host principal...
         LOG.info("Logging in as " + httpsUser + " to start http server.");
-        DFSUtil.login(conf, DFSConfigKeys.DFS_NAMENODE_KEYTAB_FILE_KEY, httpsUser);
-      }
+        DFSUtil.login(conf, DFSConfigKeys.DFS_NAMENODE_KEYTAB_FILE_KEY, 
+            DFSConfigKeys.DFS_NAMENODE_USER_NAME_KEY);      }
     }
     UserGroupInformation ugi = UserGroupInformation.getLoginUser();
     try {



Mime
View raw message