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 "Andrew Wang (JIRA)" <ji...@apache.org> on 2017/06/23 23:49:00 UTC

[jira] [Updated] (HDFS-12032) Inaccurate comment on DatanodeDescriptor#getNumberOfBlocksToBeErasureCoded

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

Andrew Wang updated HDFS-12032:
-------------------------------
    Status: Patch Available  (was: Open)

> Inaccurate comment on DatanodeDescriptor#getNumberOfBlocksToBeErasureCoded
> --------------------------------------------------------------------------
>
>                 Key: HDFS-12032
>                 URL: https://issues.apache.org/jira/browse/HDFS-12032
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 3.0.0-alpha3
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>            Priority: Trivial
>         Attachments: HDFS-12032.001.patch
>
>
> I saw this comment is an inaccurate copy paste:
> {noformat}
>   /**
>    * The number of work items that are pending to be replicated
>    */
>   @VisibleForTesting
>   public int getNumberOfBlocksToBeErasureCoded() {
>     return erasurecodeBlocks.size();
>   }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org