[ 
https://issues.apache.org/jira/browse/HDFS-13885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16597834#comment-16597834
 ] 

Xiao Chen commented on HDFS-13885:
----------------------------------

Thanks [~knanasi] for the improvement.

This would be helpful, and we can know from debug logs how long each decrypt 
call to the KMS took. Only suggestion is I think logging the stream id as hex 
seems more intuitive. (e.g. {{Integer.toHexString}}) +1 pending

> Improve debugging experience of dfsclient decrypts
> --------------------------------------------------
>
>                 Key: HDFS-13885
>                 URL: https://issues.apache.org/jira/browse/HDFS-13885
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs-client
>    Affects Versions: 3.1.0
>            Reporter: Kitti Nanasi
>            Assignee: Kitti Nanasi
>            Priority: Major
>         Attachments: HDFS-13885.001.patch
>
>
> We want to know from the hdfs client log (e.g. hbase RS logs) for each 
> CryptoOutputstream, approximately when does the decrypt happen and when does 
> the file read happen, to help us rule out or identify hdfs NN / kms / DN 
> being slow.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to