Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 76911 invoked from network); 13 Feb 2008 17:31:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2008 17:31:32 -0000 Received: (qmail 20595 invoked by uid 500); 13 Feb 2008 17:31:24 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 20569 invoked by uid 500); 13 Feb 2008 17:31:24 -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 20560 invoked by uid 99); 13 Feb 2008 17:31:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2008 09:31:24 -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.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2008 17:30:47 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D61EA714076 for ; Wed, 13 Feb 2008 09:31:07 -0800 (PST) Message-ID: <10399291.1202923867851.JavaMail.jira@brutus> Date: Wed, 13 Feb 2008 09:31:07 -0800 (PST) From: "lohit vijayarenu (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-2027) FileSystem should provide byte ranges for file locations 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-2027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] lohit vijayarenu updated HADOOP-2027: ------------------------------------- Attachment: HADOOP-2027-4.patch Another try fixing findbugs > FileSystem should provide byte ranges for file locations > -------------------------------------------------------- > > Key: HADOOP-2027 > URL: https://issues.apache.org/jira/browse/HADOOP-2027 > Project: Hadoop Core > Issue Type: Bug > Components: fs > Reporter: Owen O'Malley > Assignee: lohit vijayarenu > Attachments: HADOOP-2027-1.patch, HADOOP-2027-2.patch, HADOOP-2027-3.patch, HADOOP-2027-4.patch > > > FileSystem's getFileCacheHints should be replaced with something more useful. I'd suggest replacing getFileCacheHints with a new method: > {code} > BlockLocation[] getFileLocations(Path file, long offset, long range) throws IOException; > {code} > and adding > {code} > class BlockLocation implements Writable { > String[] getHosts(); > long getOffset(); > long getLength(); > } > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.