You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by xi...@apache.org on 2018/09/04 05:37:35 UTC
hadoop git commit: HDFS-13885. Add debug logs in dfsclient around
decrypting EDEK. Contributed by Kitti Nanasi.
Repository: hadoop
Updated Branches:
refs/heads/trunk 567b5558d -> 6e5ffb74d
HDFS-13885. Add debug logs in dfsclient around decrypting EDEK. Contributed by Kitti Nanasi.
Signed-off-by: Xiao Chen <xi...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/6e5ffb74
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/6e5ffb74
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/6e5ffb74
Branch: refs/heads/trunk
Commit: 6e5ffb74dd678ddc3392ae2f251c80fc5cc8c62f
Parents: 567b555
Author: Kitti Nanasi <kn...@cloudera.com>
Authored: Mon Sep 3 22:32:53 2018 -0700
Committer: Xiao Chen <xi...@apache.org>
Committed: Mon Sep 3 22:37:37 2018 -0700
----------------------------------------------------------------------
.../src/main/java/org/apache/hadoop/hdfs/DFSClient.java | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/6e5ffb74/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSClient.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
index adbb133..fb75322 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
+++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
@@ -953,8 +953,12 @@ public class DFSClient implements java.io.Closeable, RemotePeerFactory,
final CryptoCodec codec = HdfsKMSUtil.getCryptoCodec(conf, feInfo);
KeyVersion decrypted;
try (TraceScope ignored = tracer.newScope("decryptEDEK")) {
+ LOG.debug("Start decrypting EDEK for file: {}, output stream: 0x{}",
+ dfsos.getSrc(), Integer.toHexString(dfsos.hashCode()));
decrypted = HdfsKMSUtil.decryptEncryptedDataEncryptionKey(feInfo,
getKeyProvider());
+ LOG.debug("Decrypted EDEK for file: {}, output stream: 0x{}",
+ dfsos.getSrc(), Integer.toHexString(dfsos.hashCode()));
}
final CryptoOutputStream cryptoOut =
new CryptoOutputStream(dfsos, codec,
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org