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

Option for HTTP port of NameNode by MiniDFSClusterManager

    Details

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

      Description

      Current MiniDFSClusterManager uses 0 as the default rpc port and http port. In case of system test with MiniDFSCluster, it is difficult to debug because of the random http port.

      We can add option to make the configuration of the http port for NN web UI.

        Activity

        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk #2184 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2184/)
        HDFS-8639. Add Option for NameNode HTTP port in MiniDFSClusterManager. Contributed by Kai Sasaki. (jing9: rev 2ba646572185b91d6db1b09837abdcbadbfbeb49)

        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/MiniDFSClusterManager.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #2184 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2184/ ) HDFS-8639 . Add Option for NameNode HTTP port in MiniDFSClusterManager. Contributed by Kai Sasaki. (jing9: rev 2ba646572185b91d6db1b09837abdcbadbfbeb49) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/MiniDFSClusterManager.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #236 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/236/)
        HDFS-8639. Add Option for NameNode HTTP port in MiniDFSClusterManager. Contributed by Kai Sasaki. (jing9: rev 2ba646572185b91d6db1b09837abdcbadbfbeb49)

        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/MiniDFSClusterManager.java
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #236 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/236/ ) HDFS-8639 . Add Option for NameNode HTTP port in MiniDFSClusterManager. Contributed by Kai Sasaki. (jing9: rev 2ba646572185b91d6db1b09837abdcbadbfbeb49) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/MiniDFSClusterManager.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Hdfs-trunk #2166 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2166/)
        HDFS-8639. Add Option for NameNode HTTP port in MiniDFSClusterManager. Contributed by Kai Sasaki. (jing9: rev 2ba646572185b91d6db1b09837abdcbadbfbeb49)

        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/MiniDFSClusterManager.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Hdfs-trunk #2166 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2166/ ) HDFS-8639 . Add Option for NameNode HTTP port in MiniDFSClusterManager. Contributed by Kai Sasaki. (jing9: rev 2ba646572185b91d6db1b09837abdcbadbfbeb49) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/MiniDFSClusterManager.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #227 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/227/)
        HDFS-8639. Add Option for NameNode HTTP port in MiniDFSClusterManager. Contributed by Kai Sasaki. (jing9: rev 2ba646572185b91d6db1b09837abdcbadbfbeb49)

        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/MiniDFSClusterManager.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #227 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/227/ ) HDFS-8639 . Add Option for NameNode HTTP port in MiniDFSClusterManager. Contributed by Kai Sasaki. (jing9: rev 2ba646572185b91d6db1b09837abdcbadbfbeb49) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/MiniDFSClusterManager.java
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #238 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/238/)
        HDFS-8639. Add Option for NameNode HTTP port in MiniDFSClusterManager. Contributed by Kai Sasaki. (jing9: rev 2ba646572185b91d6db1b09837abdcbadbfbeb49)

        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/MiniDFSClusterManager.java
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #238 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/238/ ) HDFS-8639 . Add Option for NameNode HTTP port in MiniDFSClusterManager. Contributed by Kai Sasaki. (jing9: rev 2ba646572185b91d6db1b09837abdcbadbfbeb49) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/MiniDFSClusterManager.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Yarn-trunk #968 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/968/)
        HDFS-8639. Add Option for NameNode HTTP port in MiniDFSClusterManager. Contributed by Kai Sasaki. (jing9: rev 2ba646572185b91d6db1b09837abdcbadbfbeb49)

        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/MiniDFSClusterManager.java
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #968 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/968/ ) HDFS-8639 . Add Option for NameNode HTTP port in MiniDFSClusterManager. Contributed by Kai Sasaki. (jing9: rev 2ba646572185b91d6db1b09837abdcbadbfbeb49) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/MiniDFSClusterManager.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-trunk-Commit #8055 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8055/)
        HDFS-8639. Add Option for NameNode HTTP port in MiniDFSClusterManager. Contributed by Kai Sasaki. (jing9: rev 2ba646572185b91d6db1b09837abdcbadbfbeb49)

        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/MiniDFSClusterManager.java
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #8055 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8055/ ) HDFS-8639 . Add Option for NameNode HTTP port in MiniDFSClusterManager. Contributed by Kai Sasaki. (jing9: rev 2ba646572185b91d6db1b09837abdcbadbfbeb49) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/MiniDFSClusterManager.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Hide
        kaisasak Kai Sasaki added a comment -

        Jing Zhao Thank you so much!

        Show
        kaisasak Kai Sasaki added a comment - Jing Zhao Thank you so much!
        Hide
        jingzhao Jing Zhao added a comment -

        I've committed this to trunk and branch-2. Thanks Kai Sasaki for the contribution!

        Show
        jingzhao Jing Zhao added a comment - I've committed this to trunk and branch-2. Thanks Kai Sasaki for the contribution!
        Hide
        jingzhao Jing Zhao added a comment -

        Thanks for working on this, Kai Sasaki! The patch looks good to me. +1. I will commit it shortly.

        Show
        jingzhao Jing Zhao added a comment - Thanks for working on this, Kai Sasaki ! The patch looks good to me. +1. I will commit it shortly.
        Hide
        hadoopqa Hadoop QA added a comment -



        -1 overall



        Vote Subsystem Runtime Comment
        0 pre-patch 8m 30s Pre-patch trunk compilation is healthy.
        +1 @author 0m 0s The patch does not contain any @author tags.
        +1 tests included 0m 0s The patch appears to include 1 new or modified test files.
        +1 javac 7m 27s There were no new javac warning messages.
        +1 release audit 0m 19s The applied patch does not increase the total number of release audit warnings.
        +1 checkstyle 2m 16s There were no new checkstyle issues.
        +1 whitespace 0m 0s The patch has no lines that end in whitespace.
        +1 install 1m 32s mvn install still works.
        +1 eclipse:eclipse 0m 31s The patch built with eclipse:eclipse.
        +1 findbugs 3m 15s The patch does not introduce any new Findbugs (version 3.0.0) warnings.
        +1 native 1m 19s Pre-build of native portion
        -1 hdfs tests 173m 15s Tests failed in hadoop-hdfs.
            198m 27s  



        Reason Tests
        Failed unit tests hadoop.hdfs.server.namenode.TestFileTruncate
        Timed out tests org.apache.hadoop.hdfs.web.TestWebHDFSAcl



        Subsystem Report/Notes
        Patch URL http://issues.apache.org/jira/secure/attachment/12740615/HDFS-8639.00.patch
        Optional Tests javac unit findbugs checkstyle
        git revision trunk / c7d022b
        hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/11429/artifact/patchprocess/testrun_hadoop-hdfs.txt
        Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/11429/testReport/
        Java 1.7.0_55
        uname Linux asf909.gq1.ygridcore.net 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
        Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11429/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 8m 30s Pre-patch trunk compilation is healthy. +1 @author 0m 0s The patch does not contain any @author tags. +1 tests included 0m 0s The patch appears to include 1 new or modified test files. +1 javac 7m 27s There were no new javac warning messages. +1 release audit 0m 19s The applied patch does not increase the total number of release audit warnings. +1 checkstyle 2m 16s There were no new checkstyle issues. +1 whitespace 0m 0s The patch has no lines that end in whitespace. +1 install 1m 32s mvn install still works. +1 eclipse:eclipse 0m 31s The patch built with eclipse:eclipse. +1 findbugs 3m 15s The patch does not introduce any new Findbugs (version 3.0.0) warnings. +1 native 1m 19s Pre-build of native portion -1 hdfs tests 173m 15s Tests failed in hadoop-hdfs.     198m 27s   Reason Tests Failed unit tests hadoop.hdfs.server.namenode.TestFileTruncate Timed out tests org.apache.hadoop.hdfs.web.TestWebHDFSAcl Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12740615/HDFS-8639.00.patch Optional Tests javac unit findbugs checkstyle git revision trunk / c7d022b hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/11429/artifact/patchprocess/testrun_hadoop-hdfs.txt Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/11429/testReport/ Java 1.7.0_55 uname Linux asf909.gq1.ygridcore.net 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 Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11429/console This message was automatically generated.

          People

          • Assignee:
            kaisasak Kai Sasaki
            Reporter:
            kaisasak Kai Sasaki
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development