You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Haibin Huang (Jira)" <ji...@apache.org> on 2020/12/17 13:31:00 UTC

[jira] [Updated] (HDFS-15733) Add seqno in log when BlockReceiver receive packet

     [ 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-001.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
>
>
> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org