Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 78599 invoked from network); 4 Jun 2009 16:52:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Jun 2009 16:52:02 -0000 Received: (qmail 52462 invoked by uid 500); 4 Jun 2009 16:51:29 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 52412 invoked by uid 500); 4 Jun 2009 16:51: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 52371 invoked by uid 99); 4 Jun 2009 16:51:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2009 16:51:29 +0000 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, 04 Jun 2009 16:51:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 59BB6234C004 for ; Thu, 4 Jun 2009 09:51:07 -0700 (PDT) Message-ID: <1316905924.1244134267353.JavaMail.jira@brutus> Date: Thu, 4 Jun 2009 09:51:07 -0700 (PDT) From: "Joydeep Sen Sarma (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-5749) FsShell forces creation of default filesystem object and incorrectly uses default filesystem in some places In-Reply-To: <1163040341.1240833330420.JavaMail.jira@brutus> 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-5749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716320#action_12716320 ] Joydeep Sen Sarma commented on HADOOP-5749: ------------------------------------------- sorry - i do have a patch for this (but haven't figure the testing part out). will upload something later today. > FsShell forces creation of default filesystem object and incorrectly uses default filesystem in some places > ------------------------------------------------------------------------------------------------------------ > > Key: HADOOP-5749 > URL: https://issues.apache.org/jira/browse/HADOOP-5749 > Project: Hadoop Core > Issue Type: Bug > Components: fs > Reporter: Joydeep Sen Sarma > > i was trying do fs -ls operations on s3n filesystem uris (which was not configured as my default filesystem - the default filesystem was not bought up). these operations failed since they always tried to open the default filesystem (error: ""Bad connection to FS. command aborted."). but the default filesystem is not required in these cases at all. > the code also shows that the default filesystem is used in certain places (instead of the filesystem of the uri). for instance: > copy(String argv[], ...) { ... > Path dst = new Path(dest); > if (!fs.isDirectory(dst)) { > there are some other places as well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.