You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Brahma Reddy Battula (Jira)" <ji...@apache.org> on 2019/09/12 20:01:00 UTC

[jira] [Updated] (HDFS-14259) RBF: Fix safemode message for Router

     [ https://issues.apache.org/jira/browse/HDFS-14259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brahma Reddy Battula updated HDFS-14259:
----------------------------------------
    Fix Version/s: 3.3.0

> RBF: Fix safemode message for Router
> ------------------------------------
>
>                 Key: HDFS-14259
>                 URL: https://issues.apache.org/jira/browse/HDFS-14259
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Íñigo Goiri
>            Assignee: Ranith Sardar
>            Priority: Major
>             Fix For: 3.3.0, HDFS-13891
>
>         Attachments: HDFS-14259-HDFS-13891.000.patch, HDFS-14259-HDFS-13891.001.patch, HDFS-14259-HDFS-13891.002.patch
>
>
> Currently, the {{getSafemode()}} bean checks the state of the Router but returns the error if the status is different than SAFEMODE:
> {code}
>   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 "";
>   }
> {code}
> The condition should be reversed.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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