hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5871) Use PBHelper to serialize CacheDirectiveInfoExpirationProto
Date Mon, 03 Feb 2014 22:23:06 GMT

    [ https://issues.apache.org/jira/browse/HDFS-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13890000#comment-13890000
] 

Haohui Mai commented on HDFS-5871:
----------------------------------

isRelative is a required field in CacheDirectiveInfoExpirationProto. It seems that the old
FSImage ignores {{isRelative}} during serialization and deserialization.

[~cmccabe], can you please provide some insights on this?

> Use PBHelper to serialize CacheDirectiveInfoExpirationProto
> -----------------------------------------------------------
>
>                 Key: HDFS-5871
>                 URL: https://issues.apache.org/jira/browse/HDFS-5871
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: HDFS-5698 (FSImage in protobuf)
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>         Attachments: HDFS-5871.000.patch
>
>
> The current implementation of CacheManager serializes the CacheDirectiveInfoExpirationProto
in-house. It should call PBHelper.convert()    to avoid code duplication.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message