Ver código fonte

commit 22b11aca731ec701819b8efb3caab4deb8c668d9
Author: Devaraj Das <ddas@yahoo-inc.com>
Date: Tue Feb 9 21:08:18 2010 -0800

HADOOP:6552 from https://issues.apache.org/jira/secure/attachment/12435369/6552.patch

+++ b/YAHOO-CHANGES.txt
+ HADOOP-6552. Puts renewTGT=true and useTicketCache=true for the keytab kerberos
+ options. (ddas)
+


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-patches@1077161 13f79535-47bb-0310-9956-ffa450edef68

Owen O'Malley 14 anos atrás
pai
commit
57a6d10173

+ 2 - 0
src/core/org/apache/hadoop/security/UserGroupInformation.java

@@ -289,6 +289,8 @@ public class UserGroupInformation {
       KEYTAB_KERBEROS_OPTIONS.put("doNotPrompt", "true");
       KEYTAB_KERBEROS_OPTIONS.put("doNotPrompt", "true");
       KEYTAB_KERBEROS_OPTIONS.put("useKeyTab", "true");
       KEYTAB_KERBEROS_OPTIONS.put("useKeyTab", "true");
       KEYTAB_KERBEROS_OPTIONS.put("storeKey", "true");
       KEYTAB_KERBEROS_OPTIONS.put("storeKey", "true");
+      KEYTAB_KERBEROS_OPTIONS.put("useTicketCache", "true");
+      KEYTAB_KERBEROS_OPTIONS.put("renewTGT", "true");
     }
     }
     private static final AppConfigurationEntry KEYTAB_KERBEROS_LOGIN =
     private static final AppConfigurationEntry KEYTAB_KERBEROS_LOGIN =
       new AppConfigurationEntry(Krb5LoginModule.class.getName(),
       new AppConfigurationEntry(Krb5LoginModule.class.getName(),