hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r980280 - in /hadoop/mapreduce/trunk: CHANGES.txt src/java/org/apache/hadoop/mapreduce/security/token/DelegationTokenRenewal.java
Date Thu, 29 Jul 2010 00:55:51 GMT
Author: ddas
Date: Thu Jul 29 00:55:51 2010
New Revision: 980280

URL: http://svn.apache.org/viewvc?rev=980280&view=rev
Log:
MAPREDUCE-1701. Fixes a problem to do with exception handling in delegation-token renewals.
Contributed by Boris Shkolnik.

Modified:
    hadoop/mapreduce/trunk/CHANGES.txt
    hadoop/mapreduce/trunk/src/java/org/apache/hadoop/mapreduce/security/token/DelegationTokenRenewal.java

Modified: hadoop/mapreduce/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/CHANGES.txt?rev=980280&r1=980279&r2=980280&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/CHANGES.txt (original)
+++ hadoop/mapreduce/trunk/CHANGES.txt Thu Jul 29 00:55:51 2010
@@ -199,6 +199,9 @@ Trunk (unreleased changes)
     mapping that the tasks use at runtime for looking up delegation tokens.
     (Boris Shkolnik via ddas)
 
+    MAPREDUCE-1701. Fixes a problem to do with exception handling in 
+    delegation-token renewals. (Boris Shkolnik via ddas)
+
 Release 0.21.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/mapreduce/trunk/src/java/org/apache/hadoop/mapreduce/security/token/DelegationTokenRenewal.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/java/org/apache/hadoop/mapreduce/security/token/DelegationTokenRenewal.java?rev=980280&r1=980279&r2=980280&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/src/java/org/apache/hadoop/mapreduce/security/token/DelegationTokenRenewal.java
(original)
+++ hadoop/mapreduce/trunk/src/java/org/apache/hadoop/mapreduce/security/token/DelegationTokenRenewal.java
Thu Jul 29 00:55:51 2010
@@ -163,6 +163,7 @@ public class DelegationTokenRenewal {
       } catch (AccessControlException ioe) {
         LOG.warn("failed to renew token:"+token, ioe);
         removeFailedDelegationToken(dttr);
+        throw new IOException("failed to renew token", ioe);
       } catch (Exception e) {
         LOG.warn("failed to renew token:"+token, e);
         // returns default expiration date



Mime
View raw message