[
https://issues.apache.org/jira/browse/HADOOP-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mahadev konar resolved HADOOP-230.
----------------------------------
Resolution: Won't Fix
Assignee: Mahadev konar (was: Sameer Paranjpye)
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.
> improve syntax of the hadoop dfs command
> ----------------------------------------
>
> Key: HADOOP-230
> URL: https://issues.apache.org/jira/browse/HADOOP-230
> Project: Hadoop Core
> Issue Type: Improvement
> Components: dfs
> Reporter: Yoram Arnon
> Assignee: Mahadev konar
> Priority: Minor
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.