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 16F2910BC8 for ; Thu, 13 Feb 2014 00:02:13 +0000 (UTC) Received: (qmail 69015 invoked by uid 500); 13 Feb 2014 00:01:41 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 68856 invoked by uid 500); 13 Feb 2014 00:01:36 -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 68496 invoked by uid 99); 13 Feb 2014 00:01:23 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Feb 2014 00:01:23 +0000 Date: Thu, 13 Feb 2014 00:01:23 +0000 (UTC) From: "Jing Zhao (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-5847) Consolidate INodeReference into a separate section 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-5847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jing Zhao updated HDFS-5847: ---------------------------- Resolution: Fixed Fix Version/s: 3.0.0 Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) I've committed this. > Consolidate INodeReference into a separate section > -------------------------------------------------- > > Key: HDFS-5847 > URL: https://issues.apache.org/jira/browse/HDFS-5847 > Project: Hadoop HDFS > Issue Type: Sub-task > Affects Versions: 3.0.0 > Reporter: Haohui Mai > Assignee: Jing Zhao > Fix For: 3.0.0 > > Attachments: HDFS-5847.000.patch, HDFS-5847.001.patch, HDFS-5847.002.patch > > > Currently each INodeDirectorySection.Entry contains variable numbers of INodeReference entries. The INodeReference entries are inlined, therefore it is difficult to quickly navigate through a INodeDirectorySection.Entry. Skipping through a INodeDirectorySection.Entry without parsing is essential to parse these entries in parallel. > This jira proposes to consolidate INodeReferences into a section and give each of them an ID. The INodeDirectorySection.Entry can store the list of the IDs as a repeated field. That way we can leverage the existing code in protobuf to quickly skip through a INodeDirectorySection.Entry. -- This message was sent by Atlassian JIRA (v6.1.5#6160)