You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "LiXin Ge (JIRA)" <ji...@apache.org> on 2017/06/05 03:32:04 UTC
[jira] [Created] (HDFS-11925) HDFS oiv:Normalize the verification
of input parameter
LiXin Ge created HDFS-11925:
-------------------------------
Summary: 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
Fix For: 3.0.0-alpha4
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
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org