Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 32985 invoked from network); 25 Sep 2007 04:52:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Sep 2007 04:52:14 -0000 Received: (qmail 24367 invoked by uid 500); 25 Sep 2007 04:52:04 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 24335 invoked by uid 500); 25 Sep 2007 04:52:04 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 24325 invoked by uid 99); 25 Sep 2007 04:52:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 21:52:04 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2007 04:54:25 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 93C3871420D for ; Mon, 24 Sep 2007 21:51:50 -0700 (PDT) Message-ID: <19502054.1190695910578.JavaMail.jira@brutus> Date: Mon, 24 Sep 2007 21:51:50 -0700 (PDT) From: "Chris Douglas (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-1916) FSShell put or CopyFromLocal incorrectly treats "." In-Reply-To: <23484459.1190139704412.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-1916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Douglas updated HADOOP-1916: ---------------------------------- Status: Open (was: Patch Available) This is probably the wrong way to fix this. > FSShell put or CopyFromLocal incorrectly treats "." > --------------------------------------------------- > > Key: HADOOP-1916 > URL: https://issues.apache.org/jira/browse/HADOOP-1916 > Project: Hadoop > Issue Type: Bug > Components: fs > Affects Versions: 0.14.1 > Reporter: Konstantin Shvachko > Assignee: Chris Douglas > Fix For: 0.15.0 > > Attachments: 1916.patch > > > The following dfs shell command > {code} > bin/hadoop dfs -put README.txt . > {code} > results in creating a file /user/ with the contents of README.txt. > A correct behavior would be creating a directory and a file in it: /user//README.txt > The put command works correctly if /user/ already exists. > So the following sequence of command leads to the desired result: > {code} > bin/hadoop dfs -mkdir . > bin/hadoop dfs -put README.txt . > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.