Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-230

improve syntax of the hadoop dfs command

    XMLWordPrintableJSON

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.

      Attachments

        Activity

          People

            mahadev Mahadev Konar
            yarnon Yoram Arnon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: