[
https://issues.apache.org/jira/browse/HDFS-14191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737869#comment-16737869
]
Surendra Singh Lilhore commented on HDFS-14191:
-----------------------------------------------
Thanks [~RANith] for patch.
comments :
* Remove {{NamenodeBeanMetrics#getRouterState()}} method.
{{Router#getRouterState()}} never throw exception.
* Pls add one method in {{Router.java}} to compare router state instead of
adding comparing logic many places.
{code:java}
/**
* Compare router state.
*/
public boolean isRouterState(RouterServiceState state){
return state.equals(this.state);
}
{code}
* Pls correct tip message use "is" instead of "are".
[~elgoiri] : Router is already released and user will face this issues. I
suggest only improvements and new feature should go in HDFS-13891 branch. Bug
fix should be directly merged to the branches, so it will be available in
coming releases. We are not sure when our branch will be merged to trunk and
other branches.
> RBF: Router Status mode is not synchronized properly in WebUI
> -------------------------------------------------------------
>
> Key: HDFS-14191
> URL: https://issues.apache.org/jira/browse/HDFS-14191
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Affects Versions: 3.1.1
> Reporter: Ranith Sardar
> Assignee: Ranith Sardar
> Priority: Major
> Attachments: HDFS-14191.001.patch, IMG_20190109_023713.jpg,
> image-2019-01-08-16-05-34-736.png, image-2019-01-08-16-09-46-648.png
>
>
> Status value in "Router Information" and in Overview tab, is not matching for
> "SAFEMODE" condition.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]