Haohui Mai created HDFS-5847:
--------------------------------
Summary: 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: HDFS-5698 (FSImage in protobuf)
Reporter: Haohui Mai
Assignee: Jing Zhao
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)