HADOOP-17581. Fix reference to LOG is ambiguous after HADOOP-17482. (#2764)

This commit is contained in:
Xiaoyu Yao 2021-03-12 11:27:53 -08:00 committed by GitHub
parent 5f067cf0f3
commit 7cf5969f0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -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());

View File

@ -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());