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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0, 3.0.0-alpha1
    • Fix Version/s: 2.3.0
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      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

            People

            • Assignee:
              wheat9 Haohui Mai
              Reporter:
              azuryy Fengdong Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: