[ 
https://issues.apache.org/jira/browse/HDFS-5847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jing Zhao updated HDFS-5847:
----------------------------

    Attachment: HDFS-5847.000.patch

The patch adds a new INodeReference section in protobuf based fsimage. It also 
make corresponding changes for offline image viewer.

> 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
>         Attachments: HDFS-5847.000.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)

Reply via email to