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

Bharat Viswanadham commented on HDFS-336:
-----------------------------------------

Thank You [~arpitagarwal] for offline review comments. Attached patch v03 to 
address review comments.
{quote}1. before creating the file you can call getDataNodeStats and assert 
that numBlocks is 0.
{quote}
Done
{quote}2. Set block size to 512, and then write a 1KB file.
{quote}
Done

> dfsadmin -report should report number of blocks from datanode
> -------------------------------------------------------------
>
>                 Key: HDFS-336
>                 URL: https://issues.apache.org/jira/browse/HDFS-336
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Lohit Vijayarenu
>            Assignee: Bharat Viswanadham
>            Priority: Minor
>              Labels: newbie
>         Attachments: HDFS-336.00.patch, HDFS-336.01.patch, HDFS-336.02.patch
>
>
> _hadoop dfsadmin -report_ seems to miss number of blocks from a datanode. 
> Number of blocks hosted by a datanode is a good info which should be included 
> in the report. 



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