HADOOP-8242. svn merge -c 1308485 from trunk
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1308486 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
271eacf32d
commit
60cdd5a7dd
|
@ -131,6 +131,9 @@ Release 2.0.0 - UNRELEASED
|
||||||
HADOOP-8236. haadmin should have configurable timeouts for failover
|
HADOOP-8236. haadmin should have configurable timeouts for failover
|
||||||
commands. (todd)
|
commands. (todd)
|
||||||
|
|
||||||
|
HADOOP-8242. AbstractDelegationTokenIdentifier: add getter methods
|
||||||
|
for owner and realuser. (Colin Patrick McCabe via eli)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -96,10 +96,18 @@ extends TokenIdentifier {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Text getOwner() {
|
||||||
|
return owner;
|
||||||
|
}
|
||||||
|
|
||||||
public Text getRenewer() {
|
public Text getRenewer() {
|
||||||
return renewer;
|
return renewer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Text getRealUser() {
|
||||||
|
return realUser;
|
||||||
|
}
|
||||||
|
|
||||||
public void setIssueDate(long issueDate) {
|
public void setIssueDate(long issueDate) {
|
||||||
this.issueDate = issueDate;
|
this.issueDate = issueDate;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue