HDFS-4783. TestDelegationTokensWithHA#testHAUtilClonesDelegationTokens fails on Windows. Contributed by Chris Nauroth.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1493149 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fdc9412a81
commit
0ef156a86e
@ -706,6 +706,9 @@ Release 2.1.0-beta - UNRELEASED
|
||||
HDFS-4752. TestRBWBlockInvalidation fails on Windows due to file locking.
|
||||
(Chris Nauroth via suresh)
|
||||
|
||||
HDFS-4783. TestDelegationTokensWithHA#testHAUtilClonesDelegationTokens fails
|
||||
on Windows. (cnauroth)
|
||||
|
||||
BREAKDOWN OF HDFS-2802 HDFS SNAPSHOT SUBTASKS AND RELATED JIRAS
|
||||
|
||||
HDFS-4076. Support snapshot of single files. (szetszwo)
|
||||
|
@ -207,8 +207,10 @@ public void testHAUtilClonesDelegationTokens() throws Exception {
|
||||
ugi.addToken(token);
|
||||
|
||||
Collection<InetSocketAddress> nnAddrs = new HashSet<InetSocketAddress>();
|
||||
nnAddrs.add(nn0.getNameNodeAddress());
|
||||
nnAddrs.add(nn1.getNameNodeAddress());
|
||||
nnAddrs.add(new InetSocketAddress("localhost",
|
||||
nn0.getNameNodeAddress().getPort()));
|
||||
nnAddrs.add(new InetSocketAddress("localhost",
|
||||
nn1.getNameNodeAddress().getPort()));
|
||||
HAUtil.cloneDelegationTokenForLogicalUri(ugi, haUri, nnAddrs);
|
||||
|
||||
Collection<Token<? extends TokenIdentifier>> tokens = ugi.getTokens();
|
||||
|
Loading…
Reference in New Issue
Block a user