Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 57352 invoked from network); 6 Sep 2007 21:05:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Sep 2007 21:05:52 -0000 Received: (qmail 60273 invoked by uid 500); 6 Sep 2007 21:05:46 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 60241 invoked by uid 500); 6 Sep 2007 21:05:46 -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 60232 invoked by uid 99); 6 Sep 2007 21:05:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 14:05:46 -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; Thu, 06 Sep 2007 21:07:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 94375714209 for ; Thu, 6 Sep 2007 14:05:28 -0700 (PDT) Message-ID: <26829074.1189112728596.JavaMail.jira@brutus> Date: Thu, 6 Sep 2007 14:05:28 -0700 (PDT) From: "Ahad Rana (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-1783) keyToPath in Jets3tFileSystemStore needs to return absolute path In-Reply-To: <33313012.1188029370973.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-1783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525530 ] Ahad Rana commented on HADOOP-1783: ----------------------------------- Hi Tom, The patch looks good to me. Are you going to add the JIRA issue related to updating the FileSystem's javadocs ? Thx. Ahad. > keyToPath in Jets3tFileSystemStore needs to return absolute path > ---------------------------------------------------------------- > > Key: HADOOP-1783 > URL: https://issues.apache.org/jira/browse/HADOOP-1783 > Project: Hadoop > Issue Type: Bug > Components: fs/s3 > Affects Versions: 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.7.0, 0.7.1, 0.7.2, 0.8.0, 0.9.0, 0.9.1, 0.9.2, 0.10.0, 0.10.1, 0.11.0, 0.11.1, 0.11.2, 0.12.0, 0.12.1, 0.12.2, 0.12.3, 0.13.0, 0.13.1, 0.14.0 > Environment: hadoop 0.14.0 running under ec2 with s3 filesystem > Reporter: Ahad Rana > Attachments: HADOOP-1783.patch > > > The keyToPath method probably needs to: > 1. take the bucket identifier as a parameter. > 2. set the returned Path object's protocol plus authority (bucket). Currently, APIs such as listSubPaths return relative paths (for a directory listing). This in turn breaks map reduce operations if the default file system is set to be something other than S3 (via fs.default.name, for example). > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.