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
This commit is contained in:
parent
a4b1793df0
commit
d6467bb3b1
@ -160,6 +160,9 @@ Release 2.0.1-alpha - UNRELEASED
|
|||||||
MAPREDUCE-4307. TeraInputFormat calls FileSystem.getDefaultBlockSize()
|
MAPREDUCE-4307. TeraInputFormat calls FileSystem.getDefaultBlockSize()
|
||||||
without a Path - Failure when using ViewFileSystem. (Ahmed Radwan via eli)
|
without a Path - Failure when using ViewFileSystem. (Ahmed Radwan via eli)
|
||||||
|
|
||||||
|
MAPREDUCE-4313. TestTokenCache doesn't compile due
|
||||||
|
TokenCache.getDelegationToken compilation error (bobby)
|
||||||
|
|
||||||
Release 2.0.0-alpha - 05-23-2012
|
Release 2.0.0-alpha - 05-23-2012
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -289,7 +289,7 @@ public void testGetTokensForNamenodes() throws IOException {
|
|||||||
// this token is keyed by hostname:port key.
|
// this token is keyed by hostname:port key.
|
||||||
String fs_addr =
|
String fs_addr =
|
||||||
SecurityUtil.buildDTServiceName(p1.toUri(), NameNode.DEFAULT_PORT);
|
SecurityUtil.buildDTServiceName(p1.toUri(), NameNode.DEFAULT_PORT);
|
||||||
Token<DelegationTokenIdentifier> nnt = TokenCache.getDelegationToken(
|
Token<DelegationTokenIdentifier> nnt = (Token<DelegationTokenIdentifier>)TokenCache.getDelegationToken(
|
||||||
credentials, fs_addr);
|
credentials, fs_addr);
|
||||||
System.out.println("dt for " + p1 + "(" + fs_addr + ")" + " = " + nnt);
|
System.out.println("dt for " + p1 + "(" + fs_addr + ")" + " = " + nnt);
|
||||||
assertNotNull("Token for nn is null", nnt);
|
assertNotNull("Token for nn is null", nnt);
|
||||||
|
Loading…
Reference in New Issue
Block a user