VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0, HDFS-13891
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

        1. HDFS-14259-HDFS-13891.002.patch
          2 kB
          Ranith Sardar
        2. HDFS-14259-HDFS-13891.001.patch
          2 kB
          Ranith Sardar
        3. HDFS-14259-HDFS-13891.000.patch
          2 kB
          Ranith Sardar

        Issue Links

          Activity

            People

            • Assignee:
              RANith Ranith Sardar
              Reporter:
              elgoiri Íñigo Goiri

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment