Return-Path: Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: (qmail 7704 invoked from network); 3 Feb 2011 15:40:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2011 15:40:55 -0000 Received: (qmail 13836 invoked by uid 500); 3 Feb 2011 15:40:55 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 13362 invoked by uid 500); 3 Feb 2011 15:40:51 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 13345 invoked by uid 99); 3 Feb 2011 15:40:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 15:40:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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, 03 Feb 2011 15:40:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0835F18C4DF for ; Thu, 3 Feb 2011 15:40:29 +0000 (UTC) Date: Thu, 3 Feb 2011 15:40:29 +0000 (UTC) From: "Uma Maheswara Rao G (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: <345233807.7489.1296747629030.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Created: (HDFS-1608) Provide overwrite option (-overwrite/-f) in put and copyFromLocal command line options MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Provide overwrite option (-overwrite/-f) in put and copyFromLocal command line options -------------------------------------------------------------------------------------- Key: HDFS-1608 URL: https://issues.apache.org/jira/browse/HDFS-1608 Project: Hadoop HDFS Issue Type: Improvement Components: hdfs client Affects Versions: 0.20.2, 0.20.1 Reporter: Uma Maheswara Rao G Priority: Minor FileSystem has the API {code:xml} public void copyFromLocalFile(boolean delSrc, boolean overwrite, Path[] srcs, Path dst) {code} This API provides overwrite option. But the mapping command line doesn't have this option. To maintain the consistency and better usage the command line option also can support the overwrite option like to put the files forcefully. ( put [-f] ) and also for copyFromLocal command line option. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira