Skip to content

Commit 88976ac

Browse files
committed
MAPREDUCE-4313. TestTokenCache doesn't compile due TokenCache.getDelegationToken compilation error (bobby)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1346406 13f79535-47bb-0310-9956-ffa450edef68
1 parent 02d263e commit 88976ac

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

hadoop-mapreduce-project/CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ Release 2.0.1-alpha - UNRELEASED
160160
MAPREDUCE-4307. TeraInputFormat calls FileSystem.getDefaultBlockSize()
161161
without a Path - Failure when using ViewFileSystem. (Ahmed Radwan via eli)
162162

163+
MAPREDUCE-4313. TestTokenCache doesn't compile due
164+
TokenCache.getDelegationToken compilation error (bobby)
165+
163166
Release 2.0.0-alpha - 05-23-2012
164167

165168
INCOMPATIBLE CHANGES

hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ public void testGetTokensForNamenodes() throws IOException {
289289
// this token is keyed by hostname:port key.
290290
String fs_addr =
291291
SecurityUtil.buildDTServiceName(p1.toUri(), NameNode.DEFAULT_PORT);
292-
Token<DelegationTokenIdentifier> nnt = TokenCache.getDelegationToken(
292+
Token<DelegationTokenIdentifier> nnt = (Token<DelegationTokenIdentifier>)TokenCache.getDelegationToken(
293293
credentials, fs_addr);
294294
System.out.println("dt for " + p1 + "(" + fs_addr + ")" + " = " + nnt);
295295
assertNotNull("Token for nn is null", nnt);

0 commit comments

Comments
 (0)