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

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1619529 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Alejandro Abdelnur 2014-08-21 18:59:16 +00:00
parent bd7e551bc1
commit 1b65ed7795
2 changed files with 8 additions and 0 deletions

View File

@ -135,6 +135,9 @@ Release 2.6.0 - 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-10781. Unportable getgrouplist() usage breaks FreeBSD (Dmitry

View File

@ -120,4 +120,9 @@ public abstract class KeyProviderExtension
public void flush() throws IOException {
keyProvider.flush();
}
@Override
public String toString() {
return getClass().getSimpleName() + ": " + keyProvider.toString();
}
}