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

zhengchenyu edited comment on HDFS-13522 at 6/9/22 3:52 AM:
------------------------------------------------------------

[~simbadzina] Router does not use client's AlignmentContext, So I thinkĀ  
dfs.federation.router.observer.auto-msync-period must set to 0, there will be 
no problem.

If this value is too big, router may not catch the latest modification. Because 
Router does not use client's AlignmentContext, there is no way to make sure the 
current router stat id is newer than client state id.

Maybe we need to set dfs.federation.router.observer.auto-msync-period to fixed 
value '0', or note in document.


was (Author: zhengchenyu):
[~simbadzina] Router does not use client's AlignmentContext, So I thinkĀ  
dfs.federation.router.observer.auto-msync-period must set to 0, then there will 
be no problem.

If this value is too big, router may not catch the latest modification. Because 
Router does not use client's AlignmentContext, there is no way to make sure the 
current router stat id is newer than client state id.

Maybe we need to set dfs.federation.router.observer.auto-msync-period to fixed 
value '0', or note in document.

> RBF: Support observer node from Router-Based Federation
> -------------------------------------------------------
>
>                 Key: HDFS-13522
>                 URL: https://issues.apache.org/jira/browse/HDFS-13522
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: federation, namenode
>            Reporter: Erik Krogen
>            Assignee: Simbarashe Dzinamarira
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HDFS-13522.001.patch, HDFS-13522.002.patch, 
> HDFS-13522_WIP.patch, RBF_ Observer support.pdf, Router+Observer RPC 
> clogging.png, ShortTerm-Routers+Observer.png
>
>          Time Spent: 10h 20m
>  Remaining Estimate: 0h
>
> Changes will need to occur to the router to support the new observer node.
> One such change will be to make the router understand the observer state, 
> e.g. {{FederationNamenodeServiceState}}.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to