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 7351F1033D for ; Mon, 24 Nov 2014 22:32:13 +0000 (UTC) Received: (qmail 34646 invoked by uid 500); 24 Nov 2014 22:32:13 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 34592 invoked by uid 500); 24 Nov 2014 22:32:12 -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 34580 invoked by uid 99); 24 Nov 2014 22:32:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Nov 2014 22:32:12 +0000 Date: Mon, 24 Nov 2014 22:32:12 +0000 (UTC) From: "Haohui Mai (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-7437) Storing block ids instead of BlockInfo object in INodeFile 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-7437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14223663#comment-14223663 ] Haohui Mai commented on HDFS-7437: ---------------------------------- The v0 patch adds fileId and replication factor into the {{BlockInfo}} object, breaking the dependency from {{BlockInfo}} to {{BlockCollection}}. The references of {{BlockInfo}} in {{INodeFIle}} remains intact. > Storing block ids instead of BlockInfo object in INodeFile > ---------------------------------------------------------- > > Key: HDFS-7437 > URL: https://issues.apache.org/jira/browse/HDFS-7437 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Haohui Mai > Assignee: Haohui Mai > Attachments: HDFS-7437.000.patch > > > Currently {{INodeFile}} stores the lists of blocks as references of {{BlockInfo}} instead of the block ids. This creates implicit dependency between the namespace and the block manager. > The dependency blocks several recent efforts, such as separating the block manager out as a standalone service, moving block information off heap, and optimizing the memory usage of block manager. > This jira proposes to decouple the dependency by storing block ids instead of object reference in {{INodeFile}} objects. -- This message was sent by Atlassian JIRA (v6.3.4#6332)