You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by to...@apache.org on 2011/04/21 01:52:27 UTC
svn commit: r1095562 - in /hadoop/common/branches/branch-0.22: CHANGES.txt
src/java/core-default.xml
src/java/org/apache/hadoop/security/UserGroupInformation.java
Author: todd
Date: Wed Apr 20 23:52:27 2011
New Revision: 1095562
URL: http://svn.apache.org/viewvc?rev=1095562&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/branches/branch-0.22/CHANGES.txt
hadoop/common/branches/branch-0.22/src/java/core-default.xml
hadoop/common/branches/branch-0.22/src/java/org/apache/hadoop/security/UserGroupInformation.java
Modified: hadoop/common/branches/branch-0.22/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.22/CHANGES.txt?rev=1095562&r1=1095561&r2=1095562&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.22/CHANGES.txt (original)
+++ hadoop/common/branches/branch-0.22/CHANGES.txt Wed Apr 20 23:52:27 2011
@@ -438,6 +438,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/branches/branch-0.22/src/java/core-default.xml
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.22/src/java/core-default.xml?rev=1095562&r1=1095561&r2=1095562&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.22/src/java/core-default.xml (original)
+++ hadoop/common/branches/branch-0.22/src/java/core-default.xml Wed Apr 20 23:52:27 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/branches/branch-0.22/src/java/org/apache/hadoop/security/UserGroupInformation.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.22/src/java/org/apache/hadoop/security/UserGroupInformation.java?rev=1095562&r1=1095561&r2=1095562&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.22/src/java/org/apache/hadoop/security/UserGroupInformation.java (original)
+++ hadoop/common/branches/branch-0.22/src/java/org/apache/hadoop/security/UserGroupInformation.java Wed Apr 20 23:52:27 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;