[
https://issues.apache.org/jira/browse/HDFS-1727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uma Maheswara Rao G updated HDFS-1727:
--------------------------------------
Description:
In fsck command if user passes the arguments like
./hadoop fsck -test -files -blocks -racks
In this case it will take / and will display whole DFS information regarding to
files,blocks,racks.
But here, we are hiding the user mistake. Instead of this, we can display the
command usage if user passes any invalid argument like above.
If user passes illegal optional arguments like
./hadoop fsck /test -listcorruptfileblocks instead of
./hadoop fsck /test -list-corruptfileblocks also we can display the proper
command usage
was:
In fsck command if user passes the arguments like
./hadoop fsck -test -files -blocks -racks
In this case it will take / and will display whole DFS information regarding
to files,blocks,racks.
But here, we are hiding the user mistake. Instead of this, we can display the
usage if user passes any invalid argument like above.
Assignee: Uma Maheswara Rao G
Summary: fsck command can display command usage if user passes any
illegal argument (was: fsck command can display usage if user passes any other
arguments with '-' ( other than -move, -delete, -files , -openforwrite, -blocks
, -locations, -racks).)
> fsck command can display command usage if user passes any illegal argument
> --------------------------------------------------------------------------
>
> Key: HDFS-1727
> URL: https://issues.apache.org/jira/browse/HDFS-1727
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Uma Maheswara Rao G
> Assignee: Uma Maheswara Rao G
> Priority: Minor
>
> In fsck command if user passes the arguments like
> ./hadoop fsck -test -files -blocks -racks
> In this case it will take / and will display whole DFS information regarding
> to files,blocks,racks.
> But here, we are hiding the user mistake. Instead of this, we can display the
> command usage if user passes any invalid argument like above.
> If user passes illegal optional arguments like
> ./hadoop fsck /test -listcorruptfileblocks instead of
> ./hadoop fsck /test -list-corruptfileblocks also we can display the proper
> command usage
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira