Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6C29F10850 for ; Fri, 7 Feb 2014 14:54:41 +0000 (UTC) Received: (qmail 23960 invoked by uid 500); 7 Feb 2014 14:53:47 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 23801 invoked by uid 500); 7 Feb 2014 14:53:42 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 23722 invoked by uid 99); 7 Feb 2014 14:53:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Feb 2014 14:53:38 +0000 Date: Fri, 7 Feb 2014 14:53:38 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-5881) Fix skip() of the short-circuit local reader (legacy). 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/HDFS-5881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894590#comment-13894590 ] Hudson commented on HDFS-5881: ------------------------------ SUCCESS: Integrated in Hadoop-Mapreduce-trunk #1691 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1691/]) HDFS-5881. Fix skip() of the short-circuit local reader(legacy). Contributed by Kihwal Lee. (kihwal: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1565310) * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/BlockReaderLocalLegacy.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java > Fix skip() of the short-circuit local reader (legacy). > ------------------------------------------------------ > > Key: HDFS-5881 > URL: https://issues.apache.org/jira/browse/HDFS-5881 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 0.23.10 > Reporter: Kihwal Lee > Assignee: Kihwal Lee > Priority: Critical > Fix For: 3.0.0, 0.23.11, 2.4.0 > > Attachments: HDFS-5881.branch-0.23.patch, HDFS-5881.branch-0.23.patch, HDFS-5881.trunk.patch > > > It looks like a bug in skip() was introduced by HDFS-2356 and got fixed as a part of HDFS-2834, which is an API change JIRA. This bug causes to skip more (as many as the new offsetFromChunkBoundary) data in certain cases. > It is only for branch-0.23. -- This message was sent by Atlassian JIRA (v6.1.5#6160)