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

Haibin Huang updated HDFS-15733:
--------------------------------
    Attachment: HDFS-15733-002.patch

> 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
>            Reporter: Haibin Huang
>            Assignee: Haibin Huang
>            Priority: Minor
>         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.3.4#803005)

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