Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 8405 invoked from network); 13 Feb 2008 23:11:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2008 23:11:32 -0000 Received: (qmail 57939 invoked by uid 500); 13 Feb 2008 23:11:25 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 57920 invoked by uid 500); 13 Feb 2008 23:11:25 -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 57911 invoked by uid 99); 13 Feb 2008 23:11:25 -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 15:11:25 -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 23:10:48 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3377A714043 for ; Wed, 13 Feb 2008 15:11:08 -0800 (PST) Message-ID: <9637422.1202944268201.JavaMail.jira@brutus> Date: Wed, 13 Feb 2008 15:11:08 -0800 (PST) From: "Hadoop QA (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (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:comment-tabpanel&focusedCommentId=12568746#action_12568746 ] Hadoop QA commented on HADOOP-2027: ----------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12375528/HADOOP-2027-6.patch against trunk revision 619744. @author +1. The patch does not contain any @author tags. tests included +1. The patch appears to include 33 new or modified tests. javadoc +1. The javadoc tool did not generate any warning messages. javac -1. The applied patch generated 605 javac compiler warnings (more than the trunk's current 603 warnings). release audit +1. The applied patch does not generate any new release audit warnings. findbugs +1. The patch does not introduce any new Findbugs warnings. core tests +1. The patch passed core unit tests. contrib tests +1. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1791/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1791/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1791/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1791/console This message is automatically generated. > 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, HADOOP-2027-5.patch, HADOOP-2027-6.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.