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

Mention the default NN rpc ports in hdfs-default.xml

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 3.0.0-alpha2
    • Component/s: documentation
    • Labels:
      None

      Description

      We updated the default ports at HDFS-9427. However, the NN's default RPC ports aren't mentioned in hdfs-site.xml. It'd be more user-friendly if we added them, maybe in the description.

        Activity

        Hide
        xiaobingo Xiaobing Zhou added a comment -

        Andrew Wang thanks for reporting this. Are you referring to hdfs-defaut.xml? +1 the proposal since NN RPC port is the one most frequently used from CLI.

        Show
        xiaobingo Xiaobing Zhou added a comment - Andrew Wang thanks for reporting this. Are you referring to hdfs-defaut.xml? +1 the proposal since NN RPC port is the one most frequently used from CLI.
        Hide
        linyiqun Yiqun Lin added a comment -

        Attach a simple patch to make a change.

        Show
        linyiqun Yiqun Lin added a comment - Attach a simple patch to make a change.
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 16s Docker mode activated.
        +1 @author 0m 0s The patch does not contain any @author tags.
        -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
        +1 mvninstall 6m 38s trunk passed
        +1 compile 0m 43s trunk passed
        +1 mvnsite 0m 50s trunk passed
        +1 mvneclipse 0m 12s trunk passed
        +1 javadoc 0m 39s trunk passed
        +1 mvninstall 0m 45s the patch passed
        +1 compile 0m 41s the patch passed
        +1 javac 0m 41s the patch passed
        +1 mvnsite 0m 49s the patch passed
        +1 mvneclipse 0m 10s the patch passed
        +1 whitespace 0m 0s The patch has no whitespace issues.
        +1 xml 0m 1s The patch has no ill-formed XML file.
        +1 javadoc 0m 36s the patch passed
        -1 unit 48m 49s hadoop-hdfs in the patch failed.
        +1 asflicense 0m 17s The patch does not generate ASF License warnings.
        62m 31s



        Reason Tests
        Timed out junit tests org.apache.hadoop.hdfs.TestFileChecksum
          org.apache.hadoop.hdfs.TestWriteReadStripedFile
          org.apache.hadoop.hdfs.TestDFSPermission
          org.apache.hadoop.hdfs.web.TestWebHdfsWithRestCsrfPreventionFilter
          org.apache.hadoop.hdfs.TestLeaseRecovery
          org.apache.hadoop.tools.TestJMXGet
          org.apache.hadoop.hdfs.server.balancer.TestBalancer
          org.apache.hadoop.hdfs.web.TestWebHDFSForHA
          org.apache.hadoop.hdfs.TestHFlush
          org.apache.hadoop.hdfs.TestParallelUnixDomainRead



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:9560f25
        JIRA Issue HDFS-11064
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12835445/HDFS-11064.001.patch
        Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml
        uname Linux db6b4f89ef9e 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 / 22ff0ef
        Default Java 1.8.0_101
        unit https://builds.apache.org/job/PreCommit-HDFS-Build/17303/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
        Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/17303/testReport/
        modules C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs
        Console output https://builds.apache.org/job/PreCommit-HDFS-Build/17303/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 16s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 mvninstall 6m 38s trunk passed +1 compile 0m 43s trunk passed +1 mvnsite 0m 50s trunk passed +1 mvneclipse 0m 12s trunk passed +1 javadoc 0m 39s trunk passed +1 mvninstall 0m 45s the patch passed +1 compile 0m 41s the patch passed +1 javac 0m 41s the patch passed +1 mvnsite 0m 49s the patch passed +1 mvneclipse 0m 10s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 xml 0m 1s The patch has no ill-formed XML file. +1 javadoc 0m 36s the patch passed -1 unit 48m 49s hadoop-hdfs in the patch failed. +1 asflicense 0m 17s The patch does not generate ASF License warnings. 62m 31s Reason Tests Timed out junit tests org.apache.hadoop.hdfs.TestFileChecksum   org.apache.hadoop.hdfs.TestWriteReadStripedFile   org.apache.hadoop.hdfs.TestDFSPermission   org.apache.hadoop.hdfs.web.TestWebHdfsWithRestCsrfPreventionFilter   org.apache.hadoop.hdfs.TestLeaseRecovery   org.apache.hadoop.tools.TestJMXGet   org.apache.hadoop.hdfs.server.balancer.TestBalancer   org.apache.hadoop.hdfs.web.TestWebHDFSForHA   org.apache.hadoop.hdfs.TestHFlush   org.apache.hadoop.hdfs.TestParallelUnixDomainRead Subsystem Report/Notes Docker Image:yetus/hadoop:9560f25 JIRA Issue HDFS-11064 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12835445/HDFS-11064.001.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml uname Linux db6b4f89ef9e 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 / 22ff0ef Default Java 1.8.0_101 unit https://builds.apache.org/job/PreCommit-HDFS-Build/17303/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/17303/testReport/ modules C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs Console output https://builds.apache.org/job/PreCommit-HDFS-Build/17303/console Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 21s Docker mode activated.
        +1 @author 0m 0s The patch does not contain any @author tags.
        -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
        +1 mvninstall 7m 42s trunk passed
        +1 compile 0m 45s trunk passed
        +1 mvnsite 0m 52s trunk passed
        +1 mvneclipse 0m 13s trunk passed
        +1 javadoc 0m 40s trunk passed
        +1 mvninstall 0m 46s the patch passed
        +1 compile 0m 44s the patch passed
        +1 javac 0m 44s the patch passed
        +1 mvnsite 0m 52s the patch passed
        +1 mvneclipse 0m 10s the patch passed
        +1 whitespace 0m 0s The patch has no whitespace issues.
        +1 xml 0m 2s The patch has no ill-formed XML file.
        +1 javadoc 0m 36s the patch passed
        -1 unit 59m 1s hadoop-hdfs in the patch failed.
        +1 asflicense 0m 21s The patch does not generate ASF License warnings.
        74m 10s



        Reason Tests
        Failed junit tests hadoop.hdfs.server.namenode.TestFsckWithMultipleNameNodes
        Timed out junit tests org.apache.hadoop.hdfs.server.namenode.ha.TestHAAppend
          org.apache.hadoop.hdfs.server.namenode.ha.TestStandbyBlockManagement
          org.apache.hadoop.hdfs.server.namenode.TestDefaultBlockPlacementPolicy
          org.apache.hadoop.hdfs.server.namenode.ha.TestStandbyCheckpoints
          org.apache.hadoop.hdfs.server.namenode.ha.TestHAMetrics
          org.apache.hadoop.hdfs.server.namenode.ha.TestFailoverWithBlockTokensEnabled
          org.apache.hadoop.hdfs.server.namenode.ha.TestDNFencing
          org.apache.hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA
          org.apache.hadoop.hdfs.server.namenode.TestNameNodeMetadataConsistency
          org.apache.hadoop.hdfs.server.namenode.ha.TestHASafeMode



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:9560f25
        JIRA Issue HDFS-11064
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12835442/HDFS-11064.001.patch
        Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml
        uname Linux 0ab0aaff6736 3.13.0-95-generic #142-Ubuntu SMP Fri Aug 12 17:00:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
        git revision trunk / 22ff0ef
        Default Java 1.8.0_101
        unit https://builds.apache.org/job/PreCommit-HDFS-Build/17302/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
        Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/17302/testReport/
        modules C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs
        Console output https://builds.apache.org/job/PreCommit-HDFS-Build/17302/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 21s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 mvninstall 7m 42s trunk passed +1 compile 0m 45s trunk passed +1 mvnsite 0m 52s trunk passed +1 mvneclipse 0m 13s trunk passed +1 javadoc 0m 40s trunk passed +1 mvninstall 0m 46s the patch passed +1 compile 0m 44s the patch passed +1 javac 0m 44s the patch passed +1 mvnsite 0m 52s the patch passed +1 mvneclipse 0m 10s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 xml 0m 2s The patch has no ill-formed XML file. +1 javadoc 0m 36s the patch passed -1 unit 59m 1s hadoop-hdfs in the patch failed. +1 asflicense 0m 21s The patch does not generate ASF License warnings. 74m 10s Reason Tests Failed junit tests hadoop.hdfs.server.namenode.TestFsckWithMultipleNameNodes Timed out junit tests org.apache.hadoop.hdfs.server.namenode.ha.TestHAAppend   org.apache.hadoop.hdfs.server.namenode.ha.TestStandbyBlockManagement   org.apache.hadoop.hdfs.server.namenode.TestDefaultBlockPlacementPolicy   org.apache.hadoop.hdfs.server.namenode.ha.TestStandbyCheckpoints   org.apache.hadoop.hdfs.server.namenode.ha.TestHAMetrics   org.apache.hadoop.hdfs.server.namenode.ha.TestFailoverWithBlockTokensEnabled   org.apache.hadoop.hdfs.server.namenode.ha.TestDNFencing   org.apache.hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA   org.apache.hadoop.hdfs.server.namenode.TestNameNodeMetadataConsistency   org.apache.hadoop.hdfs.server.namenode.ha.TestHASafeMode Subsystem Report/Notes Docker Image:yetus/hadoop:9560f25 JIRA Issue HDFS-11064 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12835442/HDFS-11064.001.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml uname Linux 0ab0aaff6736 3.13.0-95-generic #142-Ubuntu SMP Fri Aug 12 17:00:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 22ff0ef Default Java 1.8.0_101 unit https://builds.apache.org/job/PreCommit-HDFS-Build/17302/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/17302/testReport/ modules C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs Console output https://builds.apache.org/job/PreCommit-HDFS-Build/17302/console Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        xiaobingo Xiaobing Zhou added a comment -

        Thanks for the patch. Yiqun Lin. + 1 LGTM.

        Show
        xiaobingo Xiaobing Zhou added a comment - Thanks for the patch. Yiqun Lin . + 1 LGTM.
        Hide
        xiaochen Xiao Chen added a comment - - edited

        +1, committing this. (failed tests look unrelated)

        Show
        xiaochen Xiao Chen added a comment - - edited +1, committing this. (failed tests look unrelated)
        Hide
        xiaochen Xiao Chen added a comment -

        Committed to trunk.
        Thanks Andrew for reporting, Yiqun for the fix and Xiaobing for review.

        Show
        xiaochen Xiao Chen added a comment - Committed to trunk. Thanks Andrew for reporting, Yiqun for the fix and Xiaobing for review.
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10716 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10716/)
        HDFS-11064. Mention the default NN rpc ports in hdfs-default.xml. (xiao: rev 57187fdb93c8f59372c980eb3d86073a3c8045b9)

        • (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10716 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10716/ ) HDFS-11064 . Mention the default NN rpc ports in hdfs-default.xml. (xiao: rev 57187fdb93c8f59372c980eb3d86073a3c8045b9) (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml

          People

          • Assignee:
            linyiqun Yiqun Lin
            Reporter:
            andrew.wang Andrew Wang
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development