hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LiXin Ge (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11925) HDFS oiv:Normalize the verification of input parameter
Date Mon, 19 Jun 2017 10:27:00 GMT

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

LiXin Ge commented on HDFS-11925:

Hi [~linyiqun], sorry to distrub you, but I think you are expert in HDFS oiv tool. Could you
please  help to review this patch and HDFS-11927, these two patches enhance the verification
of input parameters and reject parameters unmatched. Thank you!

> HDFS oiv:Normalize the verification of input parameter
> ------------------------------------------------------
>                 Key: HDFS-11925
>                 URL: https://issues.apache.org/jira/browse/HDFS-11925
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 3.0.0-alpha3
>            Reporter: LiXin Ge
>            Assignee: LiXin Ge
>         Attachments: HDFS-11925.patch
> At present, hdfs oiv tool lacks in verification of input parameter.people can type in
irrelevant option like:
> bq. ./hdfs oiv -i fsimage_0000000000000000000 -p XML -step 1024
> or type in option with wrong format which he think come into effec but actually not:

> bq. ./hdfs oiv -i fsimage_0000000000000000000 -p FileDistribution maxSize 4096 step 512
> or some meaningless word which can also get through:
> bq. ./hdfs oiv -i fsimage_0000000000000000000 -p XML Hello Han Meimei
> We'd better not let these cases go unchecked. 

This message was sent by Atlassian JIRA

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

View raw message