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

NameJournalStatus JMX is not updated with new JN IP address on JN host change

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.8.2, 2.10.2, 3.3.4
    • None
    • journal-node

    Description

      Whenever a JournalNode host gets replaced, 'org.apache.hadoop.ipc.Client' is able to refresh the new JournalNode IP by re-resolving the JN DNS or host.

      However, the JMX metrics exposed by Namenode still point to the stale JN IP address. For example:

      "NameJournalStatus" : "[{\"manager\":\"QJM to [10.92.29.151:8485, 10.94.17.167:8485, 10.92.59.158:8485]\",\"stream\":\"Writing segment beginning at txid 93886612. \\n10.92.29.151:8485 (Written txid 93894676), 10.94.17.167:8485 (Written txid 93894674 (2 txns/1ms behind)), 10.92.59.158:8485 (Written txid 93894676)\",\"disabled\":\"false\",\"required\":\"true\"},{\"manager\":\"FileJournalManager(root=/data/1/dfs/name-data)\",\"stream\":\"EditLogFileOutputStream(/data/1/dfs/name-data/current/edits_inprogress_0000000000093886612)\",\"disabled\":\"false\",\"required\":\"false\"}]",
      

      The IP address '10.92.29.151' isn't updated even if the JN node now points to an updated IP address, say, '10.36.72.221'.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              prat0318 Prateek Agarwal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: