Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A935C1820F for ; Fri, 11 Sep 2015 13:58:49 +0000 (UTC) Received: (qmail 71310 invoked by uid 500); 11 Sep 2015 13:58:46 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 71260 invoked by uid 500); 11 Sep 2015 13:58:46 -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 71248 invoked by uid 99); 11 Sep 2015 13:58:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2015 13:58:46 +0000 Date: Fri, 11 Sep 2015 13:58:46 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14307) Incorrect use of positional read api in HFileBlock 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-14307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14740850#comment-14740850 ] Hudson commented on HBASE-14307: -------------------------------- FAILURE: Integrated in HBase-TRUNK #6797 (See [https://builds.apache.org/job/HBase-TRUNK/6797/]) HBASE-14307 - Incorrect use of positional read api in HFileBlock (Chris (ramkrishna: rev c438052cc2280121727d4ae0883f0b76cad5816a) * hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFileBlockPositionalRead.java * hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlock.java > Incorrect use of positional read api in HFileBlock > -------------------------------------------------- > > Key: HBASE-14307 > URL: https://issues.apache.org/jira/browse/HBASE-14307 > Project: HBase > Issue Type: Bug > Reporter: Shradha Revankar > Assignee: Chris Nauroth > Fix For: 2.0.0, 0.98.15, 1.2.1, 1.0.3, 1.1.3 > > Attachments: 14307-branch-1.addendum, HBASE-14307.001.master.patch, HBASE-14307.002.master.patch, HBASE-14307.003.patch > > > Considering that {{read()}} is not guaranteed to read all bytes, > I'm interested to understand this particular piece of code and why is partial read treated as an error : > https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlock.java#L1446-L1450 > Particularly, if hbase were to use a different filesystem, say WebhdfsFileSystem, this would not work, please also see https://issues.apache.org/jira/browse/HDFS-8943 for discussion around this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)