[ 
https://issues.apache.org/jira/browse/HDFS-15733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shilun Fan updated HDFS-15733:
------------------------------
          Component/s: datanode
     Target Version/s: 3.4.0
    Affects Version/s: 3.4.0

> Add seqno in log when BlockReceiver receive packet
> --------------------------------------------------
>
>                 Key: HDFS-15733
>                 URL: https://issues.apache.org/jira/browse/HDFS-15733
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>    Affects Versions: 3.4.0
>            Reporter: Haibin Huang
>            Assignee: Haibin Huang
>            Priority: Minor
>             Fix For: 3.4.0
>
>         Attachments: HDFS-15733-001.patch, HDFS-15733-002.patch
>
>
> There is a debug log show when BlockReceiver receiving a new packet, however 
> now we can't tell which packet this debug log belongs to, i think it would be 
> better to add a sequence number in the log.
> now the debug log like this, missing the seqno of packet 
> {code:java}
> 2020-12-11,16:26:30,518 DEBUG 
> org.apache.hadoop.hdfs.server.datanode.DataNode: Receiving one packet for 
> block BP-XXX:blk_XXX: PacketHeader with packetLen=2559 header data: 
> offsetInBlock: 1
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
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