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

maobaolong commented on HDFS-14353:
-----------------------------------

[~eddyxu] Please take a look. I think the StripedBlockReconstructor#run should 
be:


{code:java}
@Override
  public void run() {
    try {
      xxxxx
    } catch (Throwable e) {
      xxxxx
    } finally {
      getDatanode().decrementXmitsInProgress(Math.max((int)(getXmits() * 
xmitWeight), 1));
      xxxxx
    }
  }
{code}


> Erasure Coding: metrics xmitsInProgress become to negative.
> -----------------------------------------------------------
>
>                 Key: HDFS-14353
>                 URL: https://issues.apache.org/jira/browse/HDFS-14353
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, erasure-coding
>    Affects Versions: 3.3.0
>            Reporter: maobaolong
>            Priority: Major
>         Attachments: screenshot-1.png
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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