HDFS-6476. Print out the KeyProvider after finding KP successfully on startup. Contributed by Juan Yu.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/fs-encryption@1600799 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Wang 2014-06-06 00:55:14 +00:00
parent bdee397e95
commit 1cbff8ff82
2 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,9 @@ fs-encryption (Unreleased)
IMPROVEMENTS
HDFS-6476. Print out the KeyProvider after finding KP successfully on
startup. (Juan Yu via wang)
OPTIMIZATIONS
BUG FIXES

View File

@ -730,6 +730,7 @@ private void initializeKeyProvider(final Configuration conf) {
LOG.error(err);
throw new RuntimeException(err);
}
LOG.info("Found KeyProvider: " + provider.toString());
} catch (IOException e) {
LOG.error("Exception while initializing KeyProvider", e);
}