Hadoop Common
  1. Hadoop Common
  2. HADOOP-1677

improve semantics of the hadoop dfs command

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.17.0
    • Component/s: None
    • Labels:
      None

      Description

      HADOOP-230 cover syntax changes. Capturing here some DFS command line semantic comments between Doug and I:

      The goal for DFS should be "UNIX-like when possible". The goals of HDFS are primarily to be usable, scalable, reliable, high-performance, and, secondarily, not to be gratuitously incompatible with UNIX. So, when it's easy to be compatible, we certainly should. But when UNIX compatibility fights with one of those other goals, it may lose.

      Two examples of incompatibilities with UNIX (that will need to be evaluated against the above goal), are:

      UNIX: cp foo bar succeeds if bar exists
      DFS: dfs -put foo bar fails if bar exists. (same for dfs -cp).

      UNIX: mkdir foo fails if foo exists
      DFS: dfs -mkdir succeeds silently if foo exists and is a directory (if foo is a file than it fails).

      Many more such incompatibilities exist.

        Issue Links

          Activity

          Nigel Daley created issue -
          Hide
          Enis Soztutar added a comment -

          +1 for unifying unix and hadoop fs semantics. I recall having some trouble about non-intuitive behavior in FsShell.

          Show
          Enis Soztutar added a comment - +1 for unifying unix and hadoop fs semantics. I recall having some trouble about non-intuitive behavior in FsShell.
          Mukund Madhugiri made changes -
          Field Original Value New Value
          Link This issue depends on HADOOP-2192 [ HADOOP-2192 ]
          Mukund Madhugiri made changes -
          Link This issue depends on HADOOP-2195 [ HADOOP-2195 ]
          Mukund Madhugiri made changes -
          Link This issue depends on HADOOP-2190 [ HADOOP-2190 ]
          Mukund Madhugiri made changes -
          Link This issue depends on HADOOP-2191 [ HADOOP-2191 ]
          Mukund Madhugiri made changes -
          Link This issue depends on HADOOP-2193 [ HADOOP-2193 ]
          Robert Chansler made changes -
          Assignee Mahadev konar [ mahadev ]
          Hide
          Mahadev konar added a comment -

          all the bugs and incosistencies have been fixed. closing this bug.

          Show
          Mahadev konar added a comment - all the bugs and incosistencies have been fixed. closing this bug.
          Mahadev konar made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Mahadev konar made changes -
          Fix Version/s 0.17.0 [ 12312913 ]
          Nigel Daley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Owen O'Malley made changes -
          Component/s dfs [ 12310710 ]
          Gavin made changes -
          Link This issue depends on HADOOP-2193 [ HADOOP-2193 ]
          Gavin made changes -
          Link This issue depends upon HADOOP-2193 [ HADOOP-2193 ]
          Gavin made changes -
          Link This issue depends on HADOOP-2191 [ HADOOP-2191 ]
          Gavin made changes -
          Link This issue depends upon HADOOP-2191 [ HADOOP-2191 ]
          Gavin made changes -
          Link This issue depends on HADOOP-2190 [ HADOOP-2190 ]
          Gavin made changes -
          Link This issue depends upon HADOOP-2190 [ HADOOP-2190 ]
          Gavin made changes -
          Link This issue depends on HADOOP-2195 [ HADOOP-2195 ]
          Gavin made changes -
          Link This issue depends upon HADOOP-2195 [ HADOOP-2195 ]
          Gavin made changes -
          Link This issue depends on HADOOP-2192 [ HADOOP-2192 ]
          Gavin made changes -
          Link This issue depends upon HADOOP-2192 [ HADOOP-2192 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          201d 5h 12m 1 Mahadev konar 20/Feb/08 22:48
          Resolved Resolved Closed Closed
          90d 21h 17m 1 Nigel Daley 21/May/08 21:05

            People

            • Assignee:
              Mahadev konar
              Reporter:
              Nigel Daley
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development