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 B953117506 for ; Fri, 3 Apr 2015 06:06:54 +0000 (UTC) Received: (qmail 26454 invoked by uid 500); 3 Apr 2015 06:06:54 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 26401 invoked by uid 500); 3 Apr 2015 06:06:54 -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 26389 invoked by uid 99); 3 Apr 2015 06:06:54 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2015 06:06:54 +0000 Date: Fri, 3 Apr 2015 06:06:54 +0000 (UTC) From: "Jing Zhao (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-7782) Erasure coding: pread from files in striped layout 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-7782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jing Zhao updated HDFS-7782: ---------------------------- Attachment: HDFS-7782.007.patch So I just extended Zhe's 005 and 006 patch and tried to demo the idea that avoiding either data copy or recreating BlockReader by extending the current {{actualGetFromOneDataNode}} method. Still need to add more tests and find/fix possible bugs. But please see if this way makes sense in general. > Erasure coding: pread from files in striped layout > -------------------------------------------------- > > Key: HDFS-7782 > URL: https://issues.apache.org/jira/browse/HDFS-7782 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Li Bo > Assignee: Zhe Zhang > Attachments: HDFS-7782-000.patch, HDFS-7782-001.patch, HDFS-7782-002.patch, HDFS-7782-003.patch, HDFS-7782-004.patch, HDFS-7782-005.patch, HDFS-7782-006.patch, HDFS-7782.007.patch > > > If client wants to read a file, he is not necessary to know and handle what layout the file is. This sub task adds logic to DFSInputStream to support reading striping layout files. -- This message was sent by Atlassian JIRA (v6.3.4#6332)