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

Akira Ajisaka commented on HDFS-11211:
--------------------------------------

"duration(ns): %s" seems fine.

> Add a time unit to the DataNode client trace format 
> ----------------------------------------------------
>
>                 Key: HDFS-11211
>                 URL: https://issues.apache.org/jira/browse/HDFS-11211
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>            Reporter: Akira Ajisaka
>            Priority: Minor
>              Labels: newbie, supportability
>
> {code:title=DataNode.java}
>   public static final String DN_CLIENTTRACE_FORMAT =
>         "src: %s" +      // src IP
>         ", dest: %s" +   // dst IP
>         ", bytes: %s" +  // byte count
>         ", op: %s" +     // operation
>         ", cliID: %s" +  // DFSClient id
>         ", offset: %s" + // offset
>         ", srvID: %s" +  // DatanodeRegistration
>         ", blockid: %s" + // block id
>         ", duration: %s";  // duration time
> {code}
> The time unit of the duration is nanosecond, but it is not documented.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to