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

Zhe Zhang commented on HDFS-9576:
---------------------------------

Good point [~iwasakims]! I should have traced the write length one level up -- 
the {{len}} variable in the public {{write}} method. This is to give insights 
on applications' I/O behavior. E.g. if in a cluster most applications send 
large write requests, certain optimizations can be made.

In the next rev I'll also try to trace the return value of read.

> HTrace: collect path/offset/length information on read and write operations
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-9576
>                 URL: https://issues.apache.org/jira/browse/HDFS-9576
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs-client, tracing
>    Affects Versions: 2.7.1
>            Reporter: Zhe Zhang
>            Assignee: Zhe Zhang
>         Attachments: HDFS-9576.00.patch, HDFS-9576.01.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to