MAPREDUCE-2710. Update JobSubmitter.printTokens(..) for HDFS-2161.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1148367 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
710e5a960e
commit
f5690f57ed
|
@ -341,6 +341,9 @@ Trunk (unreleased changes)
|
|||
|
||||
MAPREDUCE-2670. Fixing spelling mistake in FairSchedulerServlet.java. (eli)
|
||||
|
||||
MAPREDUCE-2710. Update JobSubmitter.printTokens(..) for HDFS-2161.
|
||||
(szetszwo)
|
||||
|
||||
Release 0.22.0 - Unreleased
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -419,9 +419,6 @@ class JobSubmitter {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private void printTokens(JobID jobId,
|
||||
Credentials credentials) throws IOException {
|
||||
if (LOG.isDebugEnabled()) {
|
||||
|
@ -429,7 +426,7 @@ class JobSubmitter {
|
|||
for(Token<?> token: credentials.getAllTokens()) {
|
||||
if (token.getKind().toString().equals("HDFS_DELEGATION_TOKEN")) {
|
||||
LOG.debug("Submitting with " +
|
||||
DFSClient.stringifyToken((Token<org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier>) token));
|
||||
org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier.stringifyToken(token));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue