hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r1095563 - in /hadoop/common/trunk: CHANGES.txt src/java/core-default.xml src/java/org/apache/hadoop/security/UserGroupInformation.java
Date Wed, 20 Apr 2011 23:53:05 GMT
Author: todd
Date: Wed Apr 20 23:53:05 2011
New Revision: 1095563

URL: http://svn.apache.org/viewvc?rev=1095563&view=rev
Log:
HADOOP-7229. Do not default to an absolute path for kinit in Kerberos auto-renewal thread.
Contributed by Aaron T. Myers.

Modified:
    hadoop/common/trunk/CHANGES.txt
    hadoop/common/trunk/src/java/core-default.xml
    hadoop/common/trunk/src/java/org/apache/hadoop/security/UserGroupInformation.java

Modified: hadoop/common/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/CHANGES.txt?rev=1095563&r1=1095562&r2=1095563&view=diff
==============================================================================
--- hadoop/common/trunk/CHANGES.txt (original)
+++ hadoop/common/trunk/CHANGES.txt Wed Apr 20 23:53:05 2011
@@ -590,6 +590,9 @@ Release 0.22.0 - Unreleased
     HADOOP-6898. FileSystem.copyToLocal creates files with 777 permissions.
     (Aaron T. Myers via tomwhite)
 
+    HADOOP-7229. Do not default to an absolute path for kinit in Kerberos
+    auto-renewal thread. (Aaron T. Myers via todd)
+
 Release 0.21.1 - Unreleased
 
   IMPROVEMENTS

Modified: hadoop/common/trunk/src/java/core-default.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/core-default.xml?rev=1095563&r1=1095562&r2=1095563&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/core-default.xml (original)
+++ hadoop/common/trunk/src/java/core-default.xml Wed Apr 20 23:53:05 2011
@@ -123,6 +123,16 @@
   </description>
 </property>
 
+<property>
+  <name>hadoop.kerberos.kinit.command</name>
+  <value>kinit</value>
+  <description>Used to periodically renew Kerberos credentials when provided
+  to Hadoop. The default setting assumes that kinit is in the PATH of users
+  running the Hadoop client. Change this to the absolute path to kinit if this
+  is not the case.
+  </description>
+</property>
+
 <!--- logging properties -->
 
 <property>

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/security/UserGroupInformation.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/security/UserGroupInformation.java?rev=1095563&r1=1095562&r2=1095563&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/security/UserGroupInformation.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/security/UserGroupInformation.java Wed
Apr 20 23:53:05 2011
@@ -560,7 +560,7 @@ public class UserGroupInformation {
           
           public void run() {
             String cmd = conf.get("hadoop.kerberos.kinit.command",
-                                  "/usr/kerberos/bin/kinit");
+                                  "kinit");
             KerberosTicket tgt = getTGT();
             if (tgt == null) {
               return;



Mime
View raw message