hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Íñigo Goiri (JIRA) <j...@apache.org>
Subject [jira] [Created] (HDFS-14259) RBF: Fix safemode message for Router
Date Wed, 06 Feb 2019 21:16:00 GMT
Íñigo Goiri created HDFS-14259:

             Summary: 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

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.

This message was sent by Atlassian JIRA

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

View raw message