Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 98637 invoked from network); 28 Sep 2010 05:56:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Sep 2010 05:56:57 -0000 Received: (qmail 31496 invoked by uid 500); 28 Sep 2010 05:56:57 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 31425 invoked by uid 500); 28 Sep 2010 05:56:55 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 31413 invoked by uid 99); 28 Sep 2010 05:56:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Sep 2010 05:56:54 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Sep 2010 05:56:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8S5uXUf019328 for ; Tue, 28 Sep 2010 05:56:34 GMT Message-ID: <19684583.436641285653393919.JavaMail.jira@thor> Date: Tue, 28 Sep 2010 01:56:33 -0400 (EDT) From: "stack (JIRA)" To: issues@hbase.apache.org Subject: [jira] Updated: (HBASE-3038) WALReaderFSDataInputStream.getPos() fails if Filesize > MAX_INT In-Reply-To: <1345942.396021285379914075.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-3038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-3038: ------------------------- Status: Resolved (was: Patch Available) Hadoop Flags: [Reviewed] Fix Version/s: (was: 0.89.20100924) Resolution: Fixed Committed after running tests. Looks good Nicolas. Thanks for the patch. > WALReaderFSDataInputStream.getPos() fails if Filesize > MAX_INT > --------------------------------------------------------------- > > Key: HBASE-3038 > URL: https://issues.apache.org/jira/browse/HBASE-3038 > Project: HBase > Issue Type: Bug > Components: regionserver > Affects Versions: 0.89.20100621, 0.90.0 > Reporter: Nicolas Spiegelberg > Assignee: Nicolas Spiegelberg > Priority: Critical > Fix For: 0.90.0 > > Attachments: HBASE-3038.patch > > > WALReaderFSDataInputStream.getPos() uses this.in.available() to determine the actual length of the file. Except that available() returns an int instead of a long. Therefore, our current logic is broke when trying to read a split log > 2GB. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.