Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 45C696C54 for ; Fri, 5 Aug 2011 01:18:55 +0000 (UTC) Received: (qmail 73874 invoked by uid 500); 5 Aug 2011 01:18:53 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 73542 invoked by uid 500); 5 Aug 2011 01:18:52 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 73525 invoked by uid 99); 5 Aug 2011 01:18:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Aug 2011 01:18: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; Fri, 05 Aug 2011 01:18:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id ACB86A9142 for ; Fri, 5 Aug 2011 01:18:28 +0000 (UTC) Date: Fri, 5 Aug 2011 01:18:28 +0000 (UTC) From: "XieXianshan (JIRA)" To: common-dev@hadoop.apache.org Message-ID: <195013954.10088.1312507108703.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <262802716.625.1309873456617.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (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:all-tabpanel ] XieXianshan resolved HADOOP-7441. --------------------------------- Resolution: Duplicate > 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 > Assignee: 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