hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1079115 - in /hadoop/common/branches/yahoo-merge: CHANGES.txt src/java/org/apache/hadoop/security/KerberosName.java
Date Tue, 08 Mar 2011 04:36:46 GMT
Author: omalley
Date: Tue Mar  8 04:36:46 2011
New Revision: 1079115

URL: http://svn.apache.org/viewvc?rev=1079115&view=rev
Log:
commit c4bb0e8abcabcecac077ae403d0ffe4b671fd574
Author: Douglass Cutting <cutting@apache.org>
Date:   Fri Oct 29 22:55:53 2010 +0000

    HADOOP-7011.  Fix KerberosName.main() to not throw an NPE.  Contributed by Aaron T. Myers.
    
    git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1028938 13f79535-47bb-0310-9956-ffa450edef68

Modified:
    hadoop/common/branches/yahoo-merge/CHANGES.txt
    hadoop/common/branches/yahoo-merge/src/java/org/apache/hadoop/security/KerberosName.java

Modified: hadoop/common/branches/yahoo-merge/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/yahoo-merge/CHANGES.txt?rev=1079115&r1=1079114&r2=1079115&view=diff
==============================================================================
--- hadoop/common/branches/yahoo-merge/CHANGES.txt (original)
+++ hadoop/common/branches/yahoo-merge/CHANGES.txt Tue Mar  8 04:36:46 2011
@@ -294,6 +294,9 @@ Trunk (unreleased changes)
     HADOOP-6991.  Fix SequenceFile::Reader to honor file lengths and call
     openFile (cdouglas via omalley)
 
+    HADOOP-7011.  Fix KerberosName.main() to not throw an NPE.
+    (Aaron T. Myers via tomwhite)
+
 Release 0.21.1 - Unreleased
 
   IMPROVEMENTS

Modified: hadoop/common/branches/yahoo-merge/src/java/org/apache/hadoop/security/KerberosName.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/yahoo-merge/src/java/org/apache/hadoop/security/KerberosName.java?rev=1079115&r1=1079114&r2=1079115&view=diff
==============================================================================
--- hadoop/common/branches/yahoo-merge/src/java/org/apache/hadoop/security/KerberosName.java
(original)
+++ hadoop/common/branches/yahoo-merge/src/java/org/apache/hadoop/security/KerberosName.java
Tue Mar  8 04:36:46 2011
@@ -399,9 +399,10 @@ public class KerberosName {
   }
 
   public static void main(String[] args) throws Exception {
+    setConfiguration(new Configuration());
     for(String arg: args) {
       KerberosName name = new KerberosName(arg);
       System.out.println("Name: " + name + " to " + name.getShortName());
     }
   }
-}
\ No newline at end of file
+}



Mime
View raw message