HADOOP-9958. Add old constructor back to DelegationTokenInformation to unbreak downstream builds. (Andrew Wang)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1522707 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Wang 2013-09-12 20:05:08 +00:00
parent f152a7e788
commit a98637e6dd
2 changed files with 7 additions and 0 deletions

View File

@ -454,6 +454,9 @@ Release 2.1.1-beta - UNRELEASED
HADOOP-9932. Improper synchronization in RetryCache. (kihwal) HADOOP-9932. Improper synchronization in RetryCache. (kihwal)
HADOOP-9958. Add old constructor back to DelegationTokenInformation to
unbreak downstream builds. (Andrew Wang)
Release 2.1.0-beta - 2013-08-22 Release 2.1.0-beta - 2013-08-22
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -444,6 +444,10 @@ public static class DelegationTokenInformation {
byte[] password; byte[] password;
String trackingId; String trackingId;
public DelegationTokenInformation(long renewDate, byte[] password) {
this(renewDate, password, null);
}
public DelegationTokenInformation(long renewDate, byte[] password, public DelegationTokenInformation(long renewDate, byte[] password,
String trackingId) { String trackingId) {
this.renewDate = renewDate; this.renewDate = renewDate;