HADOOP-17581. Fix reference to LOG is ambiguous after HADOOP-17482. (#2764)
This commit is contained in:
parent
5f067cf0f3
commit
7cf5969f0b
@ -1421,8 +1421,7 @@ public void testDelegationToken() throws Exception {
|
||||
|
||||
Credentials creds = new Credentials();
|
||||
final Token<?> tokens[] = dfs.addDelegationTokens("JobTracker", creds);
|
||||
DistributedFileSystem.LOG.debug("Delegation tokens: " +
|
||||
Arrays.asList(tokens));
|
||||
LOG.debug("Delegation tokens: " + Arrays.asList(tokens));
|
||||
Assert.assertEquals(2, tokens.length);
|
||||
Assert.assertEquals(tokens[1], testToken);
|
||||
Assert.assertEquals(2, creds.numberOfTokens());
|
||||
|
@ -99,8 +99,7 @@ public void testDelegationToken() throws Exception {
|
||||
|
||||
Credentials creds = new Credentials();
|
||||
Token<?> tokens[] = fs.addDelegationTokens(renewer, creds);
|
||||
DistributedFileSystem.LOG.debug("Delegation tokens: " +
|
||||
Arrays.asList(tokens));
|
||||
LOG.debug("Delegation tokens: " + Arrays.asList(tokens));
|
||||
Assert.assertEquals(2, tokens.length);
|
||||
Assert.assertEquals(2, creds.numberOfTokens());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user