hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingliang Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11083) Add unit test for DFSAdmin -report command
Date Tue, 08 Nov 2016 22:36:58 GMT

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

Mingliang Liu commented on HDFS-11083:
--------------------------------------

{code}
537	      fs.setReplication(file, (short) (replFactor + 1));
{code}
The replFactor is short type, isn't it?

{quote}
It addressed the 5 points though I didn't quite get #4.
{quote}
That was a bad format, I think you got the idea (using {{replFactor +1}} instead of 2), as
the above comment.

+1

> Add unit test for DFSAdmin -report command
> ------------------------------------------
>
>                 Key: HDFS-11083
>                 URL: https://issues.apache.org/jira/browse/HDFS-11083
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: shell, test
>            Reporter: Mingliang Liu
>            Assignee: Xiaobing Zhou
>         Attachments: HDFS-11083.000.patch, HDFS-11083.001.patch, HDFS-11083.002.patch,
HDFS-11083.003.patch
>
>
> {{hdfs dfsadmin -report}} has very useful information about the cluster. There are some
existing customized tools that depend on this command functionality. We should add unit test
for it. Specially,
> # If one datanode is dead, the report should indicate this
> # If one block is corrupt, the "Missing blocks:" field should report this
> # TBD...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message