Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
Currently, the getSafemode() bean checks the state of the Router but returns the error if the status is different than SAFEMODE:
public String getSafemode() { if (!getRouter().isRouterState(RouterServiceState.SAFEMODE)) { return "Safe mode is ON. " + this.getSafeModeTip(); } } catch (IOException e) { return "Failed to get safemode status. Please check router" + "log for more detail."; } return ""; }
The condition should be reversed.
Attachments
Attachments
Issue Links
- is caused by
-
HDFS-14191 RBF: Remove hard coded router status from FederationMetrics.
- Resolved