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

qinyuren updated HDFS-16352:
----------------------------
    Description: 
#getDatanodeStorageReport will return the array of DatanodeStorageReport which 
contains the DatanodeInfo in each DatanodeStorageReport, but the numBlocks in 
DatanodeInfo is always zero, which is confusing

!image-2021-11-23-22-04-06-131.png|width=683,height=338!

Or we can return the real numBlocks in DatanodeInfo when we call 
#getDatanodeStorageReport

  was:
#getDatanodeStorageReport will return the array of DatanodeStorageReport which 
contains the DatanodeInfo in each DatanodeStorageReport, but the numBlocks in 
DatanodeInfo is always zero, which is confusing

!image-2021-11-23-22-04-06-131.png!

Or we can return the real numBlocks in DatanodeInfo when we call 
#getDatanodeStorageReport


> fill the real datanode blocknums in #getDatanodeStorageReport
> -------------------------------------------------------------
>
>                 Key: HDFS-16352
>                 URL: https://issues.apache.org/jira/browse/HDFS-16352
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: qinyuren
>            Priority: Major
>         Attachments: image-2021-11-23-22-04-06-131.png
>
>
> #getDatanodeStorageReport will return the array of DatanodeStorageReport 
> which contains the DatanodeInfo in each DatanodeStorageReport, but the 
> numBlocks in DatanodeInfo is always zero, which is confusing
> !image-2021-11-23-22-04-06-131.png|width=683,height=338!
> Or we can return the real numBlocks in DatanodeInfo when we call 
> #getDatanodeStorageReport



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to