Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 62110 invoked from network); 22 Jan 2009 01:22:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jan 2009 01:22:31 -0000 Received: (qmail 90382 invoked by uid 500); 22 Jan 2009 01:22:30 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 90337 invoked by uid 500); 22 Jan 2009 01:22:29 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 90325 invoked by uid 99); 22 Jan 2009 01:22:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2009 17:22:29 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jan 2009 01:22:21 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E8291234C4AB for ; Wed, 21 Jan 2009 17:22:00 -0800 (PST) Message-ID: <1790020543.1232587320949.JavaMail.jira@brutus> Date: Wed, 21 Jan 2009 17:22:00 -0800 (PST) From: "Chris Douglas (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-5086) Trash URI semantics can be relaxed In-Reply-To: <228280898.1232495039545.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-5086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Douglas updated HADOOP-5086: ---------------------------------- Fix Version/s: 0.21.0 Assignee: Chris Douglas Status: Patch Available (was: Open) > Trash URI semantics can be relaxed > ---------------------------------- > > Key: HADOOP-5086 > URL: https://issues.apache.org/jira/browse/HADOOP-5086 > Project: Hadoop Core > Issue Type: Improvement > Components: fs > Affects Versions: 0.18.0 > Reporter: Chris Douglas > Assignee: Chris Douglas > Priority: Minor > Fix For: 0.21.0 > > Attachments: 5086-0.patch, 5086-1.patch > > > When using fully qualified URIs with FsShell, the authority element of the URI must match the default filesystem exactly, or else one may get an error message when the trash is enabled: > {noformat} > $ hadoop fs -rmr hdfs://namenode1/user/foo/bar > rmr: Wrong FS: hdfs://namenode1/user/foo/bar, expected: hdfs://namenode1.foobar.com > Usage: java FsShell [-rmr ] > $ hadoop fs -rmr hdfs://namenode1.foobar.com/user/foo/bar > $ > {noformat} > It should be possible to use the FileSystem for the Path provided rather than the default FileSystem. 0.17 was less particular about this. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.