Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3919

MiniDFSCluster:waitClusterUp can hang forever

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.1-alpha
    • Fix Version/s: 2.0.3-alpha, 0.23.5
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      A test run hung due to a known system config issue, but the hang was interesting:

      2012-09-11 13:22:41,888 WARN  hdfs.MiniDFSCluster (MiniDFSCluster.java:waitClusterUp(925)) - Waiting for the Mini HDFS Cluster to start...
      2012-09-11 13:22:42,889 WARN  hdfs.MiniDFSCluster (MiniDFSCluster.java:waitClusterUp(925)) - Waiting for the Mini HDFS Cluster to start...
      2012-09-11 13:22:43,889 WARN  hdfs.MiniDFSCluster (MiniDFSCluster.java:waitClusterUp(925)) - Waiting for the Mini HDFS Cluster to start...
      2012-09-11 13:22:44,890 WARN  hdfs.MiniDFSCluster (MiniDFSCluster.java:waitClusterUp(925)) - Waiting for the Mini HDFS Cluster to start...
      

      The MiniDFSCluster should give up after a few seconds.

      1. hdfs3919.txt
        1 kB
        Andy Isaacson

        Activity

        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Build #392 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/392/)
        svn merge -c 1383759 FIXES: HDFS-3919. MiniDFSCluster:waitClusterUp can hang forever. Contributed by Andy Isaacson (Revision 1392475)

        Result = UNSTABLE
        bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1392475
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #392 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/392/ ) svn merge -c 1383759 FIXES: HDFS-3919 . MiniDFSCluster:waitClusterUp can hang forever. Contributed by Andy Isaacson (Revision 1392475) Result = UNSTABLE bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1392475 Files : /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
        Hide
        Robert Joseph Evans added a comment -

        I just pulled this into branch-0.23

        Show
        Robert Joseph Evans added a comment - I just pulled this into branch-0.23
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #1194 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1194/)
        HDFS-3919. MiniDFSCluster:waitClusterUp can hang forever. Contributed by Andy Isaacson (Revision 1383759)

        Result = SUCCESS
        eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1383759
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1194 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1194/ ) HDFS-3919 . MiniDFSCluster:waitClusterUp can hang forever. Contributed by Andy Isaacson (Revision 1383759) Result = SUCCESS eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1383759 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #1163 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1163/)
        HDFS-3919. MiniDFSCluster:waitClusterUp can hang forever. Contributed by Andy Isaacson (Revision 1383759)

        Result = FAILURE
        eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1383759
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1163 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1163/ ) HDFS-3919 . MiniDFSCluster:waitClusterUp can hang forever. Contributed by Andy Isaacson (Revision 1383759) Result = FAILURE eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1383759 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #2748 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2748/)
        HDFS-3919. MiniDFSCluster:waitClusterUp can hang forever. Contributed by Andy Isaacson (Revision 1383759)

        Result = FAILURE
        eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1383759
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #2748 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2748/ ) HDFS-3919 . MiniDFSCluster:waitClusterUp can hang forever. Contributed by Andy Isaacson (Revision 1383759) Result = FAILURE eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1383759 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #2787 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2787/)
        HDFS-3919. MiniDFSCluster:waitClusterUp can hang forever. Contributed by Andy Isaacson (Revision 1383759)

        Result = SUCCESS
        eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1383759
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #2787 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2787/ ) HDFS-3919 . MiniDFSCluster:waitClusterUp can hang forever. Contributed by Andy Isaacson (Revision 1383759) Result = SUCCESS eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1383759 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #2724 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2724/)
        HDFS-3919. MiniDFSCluster:waitClusterUp can hang forever. Contributed by Andy Isaacson (Revision 1383759)

        Result = SUCCESS
        eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1383759
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #2724 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2724/ ) HDFS-3919 . MiniDFSCluster:waitClusterUp can hang forever. Contributed by Andy Isaacson (Revision 1383759) Result = SUCCESS eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1383759 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
        Hide
        Eli Collins added a comment -

        I've committed this and merged to branch-2. Thanks Andy!

        Show
        Eli Collins added a comment - I've committed this and merged to branch-2. Thanks Andy!
        Hide
        Eli Collins added a comment -

        +1 lgtm. test failures are unrelated.

        Show
        Eli Collins added a comment - +1 lgtm. test failures are unrelated.
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12544716/hdfs3919.txt
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        +1 tests included. The patch appears to include 1 new or modified test files.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 eclipse:eclipse. The patch built with eclipse:eclipse.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        -1 core tests. The patch failed these unit tests in hadoop-hdfs-project/hadoop-hdfs:

        org.apache.hadoop.hdfs.TestDatanodeBlockScanner
        org.apache.hadoop.hdfs.TestReplication

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/3172//testReport/
        Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/3172//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12544716/hdfs3919.txt against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 1 new or modified test files. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 javadoc. The javadoc tool did not generate any warning messages. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed these unit tests in hadoop-hdfs-project/hadoop-hdfs: org.apache.hadoop.hdfs.TestDatanodeBlockScanner org.apache.hadoop.hdfs.TestReplication +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/3172//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/3172//console This message is automatically generated.
        Hide
        Andy Isaacson added a comment -

        Fix waitClusterUp to give up after 10 sleeps.

        Show
        Andy Isaacson added a comment - Fix waitClusterUp to give up after 10 sleeps.

          People

          • Assignee:
            Andy Isaacson
            Reporter:
            Andy Isaacson
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development