Issue Details (XML | Word | Printable)

Key: HADOOP-230
Type: Improvement Improvement
Status: Closed Closed
Resolution: Won't Fix
Priority: Minor Minor
Assignee: Mahadev konar
Reporter: Yoram Arnon
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hadoop Common

improve syntax of the hadoop dfs command

Created: 18/May/06 10:56 PM   Updated: 08/Jul/09 04:42 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Resolution Date: 31/Jan/08 11:54 PM


 Description  « Hide
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.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Mahadev konar added a comment - 31/Jan/08 11:54 PM
this bug is pretty old. given that people have already adapted to the dfs syntax and changing the current syntax would break all the scripts I am closing the bug as wont fix.