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

CopyFromLocal doesn't always create user directory

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

        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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: