hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Wu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-13212) RBF: Fix router location cache issue
Date Thu, 01 Mar 2018 08:00:00 GMT

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

Weiwei Wu commented on HDFS-13212:
----------------------------------

[~maobaolong] The MountTableResolver periodically fetch mount table, clean the locationCaches
which mount points has change(add / remove / modify operations after this patch). 

This will ensure consistency on both sides(router and state store), and no need to clean
entire locationCache periodically.

> RBF: Fix router location cache issue
> ------------------------------------
>
>                 Key: HDFS-13212
>                 URL: https://issues.apache.org/jira/browse/HDFS-13212
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: federation, hdfs
>            Reporter: Weiwei Wu
>            Priority: Major
>         Attachments: HDFS-13212-001.patch
>
>
> The MountTableResolver refreshEntries function have a bug when add a new mount table
entry which already have location cache. The old location cache will never be invalid until
this mount point change again.
> Need to invalid the location cache when add the mount table entries.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message