HADOOP-12494. fetchdt stores the token based on token kind instead of token service (HeeSoo Kim via aw)
This commit is contained in:
parent
faeb6a3f89
commit
1396867b52
|
@ -516,6 +516,9 @@ Trunk (Unreleased)
|
||||||
HADOOP-12515. Mockito dependency is missing in hadoop-kafka module.
|
HADOOP-12515. Mockito dependency is missing in hadoop-kafka module.
|
||||||
(Kai Zheng via aajisaka)
|
(Kai Zheng via aajisaka)
|
||||||
|
|
||||||
|
HADOOP-12494. fetchdt stores the token based on token kind instead
|
||||||
|
of token service (HeeSoo Kim via aw)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-7761. Improve the performance of raw comparisons. (todd)
|
HADOOP-7761. Improve the performance of raw comparisons. (todd)
|
||||||
|
|
|
@ -178,7 +178,7 @@ public class DelegationTokenFetcher {
|
||||||
Token<?> token = fs.getDelegationToken(renewer);
|
Token<?> token = fs.getDelegationToken(renewer);
|
||||||
if (null != token) {
|
if (null != token) {
|
||||||
Credentials cred = new Credentials();
|
Credentials cred = new Credentials();
|
||||||
cred.addToken(token.getKind(), token);
|
cred.addToken(token.getService(), token);
|
||||||
cred.writeTokenStorageFile(tokenFile, conf);
|
cred.writeTokenStorageFile(tokenFile, conf);
|
||||||
|
|
||||||
if (LOG.isDebugEnabled()) {
|
if (LOG.isDebugEnabled()) {
|
||||||
|
|
Loading…
Reference in New Issue