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

Ayush Saxena commented on HDFS-15108:
-------------------------------------

IMO For the cacheNs, we can directly remove from the map, for cacheBp we can 
clear the whole cache. All this processing is done for cacheBp only

> RBF: MembershipNamenodeResolver should invalidate cache incase of active 
> namenode update
> ----------------------------------------------------------------------------------------
>
>                 Key: HDFS-15108
>                 URL: https://issues.apache.org/jira/browse/HDFS-15108
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>         Attachments: HDFS-15108-01.patch, HDFS-15108-02.patch, 
> HDFS-15108-03.patch, HDFS-15108-04.patch
>
>
> If a failover happens, {{namenodeResolver.updateActiveNamenode(nsId, 
> address);}} is called, but this doesn't invalidates the cache, so as the next 
> time the correct active is fetched.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to