Hadoop Common
  1. Hadoop Common
  2. HADOOP-8963

CopyFromLocal doesn't always create user directory

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.0.3
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When you use the command "hadoop fs -copyFromLocal filename ." before the /user/username directory has been created, the file is created with name /user/username instead of a directory being created with file /user/username/filename. The command "hadoop fs -copyFromLocal filename filename" works as expected, creating /user/username and /user/username/filename, and "hadoop fs -copyFromLocal filename ." works as expected if the /user/username directory already exists.

      1. HADOOP-8963.branch-1.patch
        7 kB
        Suresh Srinivas
      2. HADOOP-8963.branch-1.patch
        7 kB
        Arpit Gupta
      3. HADOOP-8963.branch-1.patch
        4 kB
        Arpit Gupta
      4. HADOOP-8963.branch-1.patch
        4 kB
        Arpit Gupta
      5. HADOOP-8963.branch-1.patch
        4 kB
        Arpit Gupta

        Activity

        Billie Rinaldi created issue -
        Suresh Srinivas made changes -
        Field Original Value New Value
        Assignee Arpit Gupta [ arpitgupta ]
        Arpit Gupta made changes -
        Project Hadoop HDFS [ 12310942 ] Hadoop Common [ 12310240 ]
        Key HDFS-4024 HADOOP-8963
        Affects Version/s 1.0.3 [ 12320248 ]
        Affects Version/s 1.0.3 [ 12320249 ]
        Arpit Gupta made changes -
        Attachment HADOOP-8963.branch-1.patch [ 12550391 ]
        Arpit Gupta made changes -
        Affects Version/s 2.0.2-alpha [ 12322473 ]
        Arpit Gupta made changes -
        Affects Version/s 2.0.2-alpha [ 12322473 ]
        Arpit Gupta made changes -
        Attachment HADOOP-8963.branch-1.patch [ 12550512 ]
        Arpit Gupta made changes -
        Attachment HADOOP-8963.branch-1.patch [ 12550537 ]
        Arpit Gupta made changes -
        Attachment HADOOP-8963.branch-1.patch [ 12552381 ]
        Suresh Srinivas made changes -
        Attachment HADOOP-8963.branch-1.patch [ 12552892 ]
        Suresh Srinivas made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 1.2.0 [ 12321659 ]
        Resolution Fixed [ 1 ]
        Matt Foley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arpit Gupta
            Reporter:
            Billie Rinaldi
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development