Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
Description
the hadoop dfs syntax (hadoop dfs -option value -cmd arg) is clunky: options must appear before the command, the command looks like just another option.
I propose a more standard syntax:
1. the command (ls, mv, du etc.) always comes first
2. no '-' for the command
3. options may appear anywhere, including between the command and its arguments
allowed syntax would be:
hadoop dfs ls -dfs <dfs> /path
hadoop dfs ls /path -dfs <dfs>
other commands may benefit from a similar syntax change:
hadoop job [-status] job_0002 -jt <jt>
etc.