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 BAD5D188AD for ; Tue, 12 May 2015 08:30:00 +0000 (UTC) Received: (qmail 99076 invoked by uid 500); 12 May 2015 08:30:00 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 99020 invoked by uid 500); 12 May 2015 08:30:00 -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 99007 invoked by uid 99); 12 May 2015 08:30:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 May 2015 08:30:00 +0000 Date: Tue, 12 May 2015 08:30:00 +0000 (UTC) From: "Uma Maheswara Rao G (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-8363) Erasure Coding: DFSStripedInputStream#seekToNewSource 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-8363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14539508#comment-14539508 ] Uma Maheswara Rao G commented on HDFS-8363: ------------------------------------------- +1 > Erasure Coding: DFSStripedInputStream#seekToNewSource > ----------------------------------------------------- > > Key: HDFS-8363 > URL: https://issues.apache.org/jira/browse/HDFS-8363 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Yi Liu > Assignee: Yi Liu > Attachments: HDFS-8363.001.patch > > > Ideally, for striped block, an internal block is only on one datanode, so {{DFSStripedInputStream#seekToNewSource}} should return *false*, we should overwrite {{DFSInputStream#seekToNewSource}} for striped file. > This patch also remove the hardcode for {{groupSize}} > {code} > private final short groupSize = HdfsConstants.NUM_DATA_BLOCKS; > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)