hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-8963) CopyFromLocal doesn't always create user directory
Date Tue, 23 Oct 2012 21:50:13 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-8963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arpit Gupta updated HADOOP-8963:
--------------------------------

    Attachment: HADOOP-8963.branch-1.patch

@Daryn

That was initial plan that i would just return a path with srcName when dst was null, but
i changed in case what if the new path existed. But now i realize that wont be the case as
this will happen only when dst fs was not found.
                
> CopyFromLocal doesn't always create user directory
> --------------------------------------------------
>
>                 Key: HADOOP-8963
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8963
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 1.0.3
>            Reporter: Billie Rinaldi
>            Assignee: Arpit Gupta
>            Priority: Trivial
>         Attachments: HADOOP-8963.branch-1.patch, HADOOP-8963.branch-1.patch, HADOOP-8963.branch-1.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message