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

LiXin Ge updated HDFS-11925:
----------------------------
    Summary: Offline Image Viewer: Processor argument should have some 
verification  (was: HDFS oiv:Normalize the verification of input parameter)

> Offline Image Viewer: Processor argument should have some verification
> ----------------------------------------------------------------------
>
>                 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
>            Priority: Major
>         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 format
> 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
(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