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

TestNameNodeMetricsLogger failing -port in use

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Environment:

      jenkins

    • Target Version/s:

      Description

      TestNameNodeMetricsLogger is failing with port in use: it may pick a random port, but it doesn't check for it being free, and on a busy jenkins server is clearly clashing with other tests.

        Issue Links

          Activity

          Hide
          stevel@apache.org Steve Loughran added a comment -

          fix to use ServerSocketUtil

          Show
          stevel@apache.org Steve Loughran added a comment - fix to use ServerSocketUtil
          Hide
          vinayrpet Vinayakumar B added a comment -

          +1

          Show
          vinayrpet Vinayakumar B added a comment - +1
          Hide
          hadoopqa Hadoop QA added a comment -



          -1 overall



          Vote Subsystem Runtime Comment
          0 pre-patch 12m 7s 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 10m 4s There were no new javac warning messages.
          +1 release audit 0m 25s The applied patch does not increase the total number of release audit warnings.
          +1 checkstyle 1m 51s There were no new checkstyle issues.
          +1 whitespace 0m 0s The patch has no lines that end in whitespace.
          +1 install 1m 51s mvn install still works.
          +1 eclipse:eclipse 0m 45s The patch built with eclipse:eclipse.
          +1 findbugs 2m 59s The patch does not introduce any new Findbugs (version 3.0.0) warnings.
          +1 native 1m 20s Pre-build of native portion
          -1 hdfs tests 98m 18s Tests failed in hadoop-hdfs.
              129m 43s  



          Reason Tests
          Failed unit tests hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyPersistLockedMemory
            hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyWriter
            hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyPersistReplicaPlacement
          Timed out tests org.apache.hadoop.hdfs.qjournal.TestSecureNNWithQJM



          Subsystem Report/Notes
          Patch URL http://issues.apache.org/jira/secure/attachment/12755624/HDFS-9069-001.patch
          Optional Tests javac unit findbugs checkstyle
          git revision trunk / 7269906
          hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/12421/artifact/patchprocess/testrun_hadoop-hdfs.txt
          Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/12421/testReport/
          Java 1.7.0_55
          uname Linux asf904.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/12421/console

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 12m 7s 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 10m 4s There were no new javac warning messages. +1 release audit 0m 25s The applied patch does not increase the total number of release audit warnings. +1 checkstyle 1m 51s There were no new checkstyle issues. +1 whitespace 0m 0s The patch has no lines that end in whitespace. +1 install 1m 51s mvn install still works. +1 eclipse:eclipse 0m 45s The patch built with eclipse:eclipse. +1 findbugs 2m 59s The patch does not introduce any new Findbugs (version 3.0.0) warnings. +1 native 1m 20s Pre-build of native portion -1 hdfs tests 98m 18s Tests failed in hadoop-hdfs.     129m 43s   Reason Tests Failed unit tests hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyPersistLockedMemory   hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyWriter   hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyPersistReplicaPlacement Timed out tests org.apache.hadoop.hdfs.qjournal.TestSecureNNWithQJM Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12755624/HDFS-9069-001.patch Optional Tests javac unit findbugs checkstyle git revision trunk / 7269906 hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/12421/artifact/patchprocess/testrun_hadoop-hdfs.txt Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/12421/testReport/ Java 1.7.0_55 uname Linux asf904.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/12421/console This message was automatically generated.
          Hide
          stevel@apache.org Steve Loughran added a comment -

          tests failing are the (known) HDFS testLazy*

          Show
          stevel@apache.org Steve Loughran added a comment - tests failing are the (known) HDFS testLazy*
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-trunk-Commit #8448 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8448/)
          HDFS-9069. TestNameNodeMetricsLogger failing -port in use. (stevel) (stevel: rev 6955771261ad0047056eb7c2505ba9915fce60d3)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeMetricsLogger.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #8448 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8448/ ) HDFS-9069 . TestNameNodeMetricsLogger failing -port in use. (stevel) (stevel: rev 6955771261ad0047056eb7c2505ba9915fce60d3) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeMetricsLogger.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk #2332 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2332/)
          HDFS-9069. TestNameNodeMetricsLogger failing -port in use. (stevel) (stevel: rev 6955771261ad0047056eb7c2505ba9915fce60d3)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeMetricsLogger.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #2332 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2332/ ) HDFS-9069 . TestNameNodeMetricsLogger failing -port in use. (stevel) (stevel: rev 6955771261ad0047056eb7c2505ba9915fce60d3) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeMetricsLogger.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Yarn-trunk #1122 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/1122/)
          HDFS-9069. TestNameNodeMetricsLogger failing -port in use. (stevel) (stevel: rev 6955771261ad0047056eb7c2505ba9915fce60d3)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeMetricsLogger.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk #1122 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/1122/ ) HDFS-9069 . TestNameNodeMetricsLogger failing -port in use. (stevel) (stevel: rev 6955771261ad0047056eb7c2505ba9915fce60d3) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeMetricsLogger.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #390 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/390/)
          HDFS-9069. TestNameNodeMetricsLogger failing -port in use. (stevel) (stevel: rev 6955771261ad0047056eb7c2505ba9915fce60d3)

          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeMetricsLogger.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #390 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/390/ ) HDFS-9069 . TestNameNodeMetricsLogger failing -port in use. (stevel) (stevel: rev 6955771261ad0047056eb7c2505ba9915fce60d3) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeMetricsLogger.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #384 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/384/)
          HDFS-9069. TestNameNodeMetricsLogger failing -port in use. (stevel) (stevel: rev 6955771261ad0047056eb7c2505ba9915fce60d3)

          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeMetricsLogger.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #384 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/384/ ) HDFS-9069 . TestNameNodeMetricsLogger failing -port in use. (stevel) (stevel: rev 6955771261ad0047056eb7c2505ba9915fce60d3) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeMetricsLogger.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #369 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/369/)
          HDFS-9069. TestNameNodeMetricsLogger failing -port in use. (stevel) (stevel: rev 6955771261ad0047056eb7c2505ba9915fce60d3)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeMetricsLogger.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #369 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/369/ ) HDFS-9069 . TestNameNodeMetricsLogger failing -port in use. (stevel) (stevel: rev 6955771261ad0047056eb7c2505ba9915fce60d3) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeMetricsLogger.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk #2309 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2309/)
          HDFS-9069. TestNameNodeMetricsLogger failing -port in use. (stevel) (stevel: rev 6955771261ad0047056eb7c2505ba9915fce60d3)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeMetricsLogger.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2309 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2309/ ) HDFS-9069 . TestNameNodeMetricsLogger failing -port in use. (stevel) (stevel: rev 6955771261ad0047056eb7c2505ba9915fce60d3) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeMetricsLogger.java

            People

            • Assignee:
              stevel@apache.org Steve Loughran
              Reporter:
              stevel@apache.org Steve Loughran
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development