Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5561

FSNameSystem#getNameJournalStatus() in JMX should return plain text instead of HTML

VotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.0, 3.0.0-alpha1
    • 2.3.0
    • namenode
    • None
    • Reviewed

    Description

      Currently FSNameSystem#getNameJournalStatus() returns the status of the quorum stream, which is an HTML string. This should not happen since that getNameJournalStatus() is a JMX call. This will confuse the downstream clients (e.g., the web UI) and lead to incorrect result.

      This jira proposes to change the information to plain text.

      Attachments

        1. HDFS-5561.000.patch
          16 kB
          Haohui Mai
        2. NNUI.PNG
          23 kB
          Fengdong Yu

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            wheat9 Haohui Mai
            azuryy Fengdong Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment