Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 64726 invoked from network); 20 Jan 2009 23:44:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jan 2009 23:44:30 -0000 Received: (qmail 88781 invoked by uid 500); 20 Jan 2009 23:44:28 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 88759 invoked by uid 500); 20 Jan 2009 23:44:28 -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 88748 invoked by uid 99); 20 Jan 2009 23:44:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2009 15:44:28 -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; Tue, 20 Jan 2009 23:44:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 88EC0234C48B for ; Tue, 20 Jan 2009 15:43:59 -0800 (PST) Message-ID: <228280898.1232495039545.JavaMail.jira@brutus> Date: Tue, 20 Jan 2009 15:43:59 -0800 (PST) From: "Chris Douglas (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Created: (HADOOP-5086) Trash URI semantics can be relaxed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 Priority: Minor 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.