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:
parent
bdee397e95
commit
1cbff8ff82
|
@ -8,6 +8,9 @@ fs-encryption (Unreleased)
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
|
|
||||||
|
HDFS-6476. Print out the KeyProvider after finding KP successfully on
|
||||||
|
startup. (Juan Yu via wang)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -730,6 +730,7 @@ public class NameNode implements NameNodeStatusMXBean {
|
||||||
LOG.error(err);
|
LOG.error(err);
|
||||||
throw new RuntimeException(err);
|
throw new RuntimeException(err);
|
||||||
}
|
}
|
||||||
|
LOG.info("Found KeyProvider: " + provider.toString());
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
LOG.error("Exception while initializing KeyProvider", e);
|
LOG.error("Exception while initializing KeyProvider", e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue