Description
CommandFormat currently allows options in any location within the args. This is not the intended behavior for FsShell commands. Prior to the redesign, the commands used to expect option processing to stop at the first non-option.
CommandFormat was an existing class prior the redesign, but it was only used by "count" to find the -q flag. All commands were converted to using this class, thus inherited the unintended behavior.
Attachments
Attachments
Issue Links
- is part of
-
HADOOP-7176 Redesign FsShell
- Resolved
- relates to
-
MAPREDUCE-2568 Fix TestFileSystem
- Open
-
HADOOP-7995 GenericOptionsParser ought to have better options parsing, and not pick only the options in the front
- Resolved