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 DAF9217E9A for ; Thu, 23 Apr 2015 05:23:38 +0000 (UTC) Received: (qmail 86404 invoked by uid 500); 23 Apr 2015 05:23:38 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 86345 invoked by uid 500); 23 Apr 2015 05:23:38 -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 86331 invoked by uid 99); 23 Apr 2015 05:23:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2015 05:23:38 +0000 Date: Thu, 23 Apr 2015 05:23:38 +0000 (UTC) From: "Haohui Mai (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-8227) BlockCollection should return Block instead of BlockInfoContiguous in the interfaces 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-8227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Haohui Mai updated HDFS-8227: ----------------------------- Attachment: HDFS-8227.000.patch > BlockCollection should return Block instead of BlockInfoContiguous in the interfaces > ------------------------------------------------------------------------------------ > > Key: HDFS-8227 > URL: https://issues.apache.org/jira/browse/HDFS-8227 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Haohui Mai > Assignee: Haohui Mai > Attachments: HDFS-8227.000.patch > > > Currently the {{BlockCollection}} interface returns {{BlockInfoContiguous}} objects in multiple calls. > In order to decouple block manager and the namespace, the interface should return the {{Block}} instead of {{BlockInfoContiguous}} objects, where the latter contain information like the locations of DN. > This jira proposes to clean up the interface and to return the {{Block}} objects directly. -- This message was sent by Atlassian JIRA (v6.3.4#6332)