HADOOP-10812. Delegate KeyProviderExtension#toString to underlying KeyProvider. (wang)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1609416 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Wang 2014-07-10 08:10:41 +00:00
parent e67b80ec3a
commit a53262605a
2 changed files with 8 additions and 0 deletions

View File

@ -177,6 +177,9 @@ Trunk (Unreleased)
HADOOP-10769. Create KeyProvider extension to handle delegation tokens.
(Arun Suresh via atm)
HADOOP-10812. Delegate KeyProviderExtension#toString to underlying
KeyProvider. (wang)
BUG FIXES
HADOOP-9451. Fault single-layer config if node group topology is enabled.

View File

@ -120,4 +120,9 @@ public KeyVersion rollNewVersion(String name, byte[] material)
public void flush() throws IOException {
keyProvider.flush();
}
@Override
public String toString() {
return getClass().getSimpleName() + ": " + keyProvider.toString();
}
}