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 972FC6705 for ; Thu, 4 Aug 2011 03:40:23 +0000 (UTC) Received: (qmail 43169 invoked by uid 500); 4 Aug 2011 03:40:22 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 42762 invoked by uid 500); 4 Aug 2011 03:40:01 -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 42732 invoked by uid 99); 4 Aug 2011 03:39:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 03:39:52 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 03:39:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2BE39A62CC for ; Thu, 4 Aug 2011 03:39:27 +0000 (UTC) Date: Thu, 4 Aug 2011 03:39:27 +0000 (UTC) From: "XieXianshan (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1646717406.6959.1312429167167.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1698869580.626.1309873456651.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7441) Improvement for the FsShell -copyFromLocal/-put" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-7441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079194#comment-13079194 ] XieXianshan commented on HADOOP-7441: ------------------------------------- Daryn,could i close this issue if your patches will include this problem? > Improvement for the FsShell -copyFromLocal/-put" > ------------------------------------------------ > > Key: HADOOP-7441 > URL: https://issues.apache.org/jira/browse/HADOOP-7441 > Project: Hadoop Common > Issue Type: Improvement > Affects Versions: 0.20.3 > Reporter: XieXianshan > Attachments: HADOOP-7441, HADOOP-7441, HADOOP-7441_2, HADOOP_7441.patch > > > The message displayed is hard to understand while using the FsShell -copyFromLocal(or -put) without dst path. > For instance: > $hdfs dfs -copyFromLocal /work/tmp/xg > copyFromLocal: `.': File exists > $hdfs dfs -put /work/tmp/xg > put: `.': File exists > Therefore,the message should be changed as follow for more comprehensive. > $hdfs dfs -copyFromLocal /work/tmp/xg > copyFromLocal: `hdfs://localhost:9000/user/root': File exists > $hdfs dfs -put /work/tmp/xg > put: `hdfs://localhost:9000/user/root': File exists -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira