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

HA NameNode Web UI should show last checkpoint time

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: ui
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      After enabling HA, NameNode HA should show last checkpoint time in the Web UI as the Secondary NameNode Web UI does.

      1. HDFS-10703.001.patch
        2 kB
        John Zhuge
      2. NN Web UI with Patch 001.png
        125 kB
        John Zhuge

        Activity

        Hide
        jzhuge John Zhuge added a comment -

        Patch 001:

        • Add a new field Last Checkpoint Time to NN Web UI
        • Test it in a pseudo cluster
        Show
        jzhuge John Zhuge added a comment - Patch 001: Add a new field Last Checkpoint Time to NN Web UI Test it in a pseudo cluster
        Hide
        hadoopqa Hadoop QA added a comment -
        +1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 20s Docker mode activated.
        +1 @author 0m 0s The patch does not contain any @author tags.
        +1 whitespace 0m 0s The patch has no whitespace issues.
        +1 asflicense 0m 18s The patch does not generate ASF License warnings.
        0m 58s



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:9560f25
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12820915/HDFS-10703.001.patch
        JIRA Issue HDFS-10703
        Optional Tests asflicense
        uname Linux 663b317334d1 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
        git revision trunk / 204a205
        modules C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs
        Console output https://builds.apache.org/job/PreCommit-HDFS-Build/16249/console
        Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - +1 overall Vote Subsystem Runtime Comment 0 reexec 0m 20s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. +1 whitespace 0m 0s The patch has no whitespace issues. +1 asflicense 0m 18s The patch does not generate ASF License warnings. 0m 58s Subsystem Report/Notes Docker Image:yetus/hadoop:9560f25 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12820915/HDFS-10703.001.patch JIRA Issue HDFS-10703 Optional Tests asflicense uname Linux 663b317334d1 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 204a205 modules C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs Console output https://builds.apache.org/job/PreCommit-HDFS-Build/16249/console Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        jzhuge John Zhuge added a comment -

        Since it is a UI change, I attached a screen shot after the fix.

        Show
        jzhuge John Zhuge added a comment - Since it is a UI change, I attached a screen shot after the fix.
        Hide
        jzhuge John Zhuge added a comment -

        Please note the new field on NN Web UI is somewhat similar to the same field on SNN if HA is not enabled.

        Show
        jzhuge John Zhuge added a comment - Please note the new field on NN Web UI is somewhat similar to the same field on SNN if HA is not enabled.
        Hide
        yzhangal Yongjun Zhang added a comment -

        Thanks John Zhuge for reporting and work on the issue. I reviewed the fix, tested it out and it worked as expected. +1.

        Will commit soon.

        Show
        yzhangal Yongjun Zhang added a comment - Thanks John Zhuge for reporting and work on the issue. I reviewed the fix, tested it out and it worked as expected. +1. Will commit soon.
        Hide
        jzhuge John Zhuge added a comment -

        Tested the new field on non-HA pseudo cluster and HA cluster.

        Show
        jzhuge John Zhuge added a comment - Tested the new field on non-HA pseudo cluster and HA cluster.
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-trunk-Commit #10180 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10180/)
        HDFS-10703. HA NameNode Web UI should show last checkpoint time. (John (yzhang: rev 8d32bd884d53948728b77de14531b3be196f4bc7)

        • hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html
        • hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-trunk-Commit #10180 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10180/ ) HDFS-10703 . HA NameNode Web UI should show last checkpoint time. (John (yzhang: rev 8d32bd884d53948728b77de14531b3be196f4bc7) hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js
        Hide
        yzhangal Yongjun Zhang added a comment -

        Committed to trunk, branch-3.0.0-alpha1, branch-2, branch-2.8.

        Thanks John Zhuge for the contribution.

        Show
        yzhangal Yongjun Zhang added a comment - Committed to trunk, branch-3.0.0-alpha1, branch-2, branch-2.8. Thanks John Zhuge for the contribution.
        Hide
        jzhuge John Zhuge added a comment -

        Thanks Yongjun Zhang for review and commit.

        Show
        jzhuge John Zhuge added a comment - Thanks Yongjun Zhang for review and commit.

          People

          • Assignee:
            jzhuge John Zhuge
            Reporter:
            jzhuge John Zhuge
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development