Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 988B6D69A for ; Tue, 23 Oct 2012 18:57:13 +0000 (UTC) Received: (qmail 98919 invoked by uid 500); 23 Oct 2012 18:57:13 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 98877 invoked by uid 500); 23 Oct 2012 18:57:13 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 98811 invoked by uid 99); 23 Oct 2012 18:57:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2012 18:57:13 +0000 Date: Tue, 23 Oct 2012 18:57:13 +0000 (UTC) From: "Arpit Gupta (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1523496795.17430.1351018633126.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HADOOP-8963) CopyFromLocal doesn't always create user directory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 updated the tests in branch-1 to assert the exit code. > 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 > > > 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