Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-4289

TestDistributedShell failing with bind exception

    Details

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

      Description

      Stacktrace

      org.apache.hadoop.service.ServiceStateException: java.io.IOException: ApplicationHistoryServer failed to start. Final state is STOPPED
      	at org.apache.hadoop.yarn.server.MiniYARNCluster$ApplicationHistoryServerWrapper.serviceStart(MiniYARNCluster.java:726)
      	at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
      	at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:120)
      	at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
      	at org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.setupInternal(TestDistributedShell.java:91)
      	at org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.setup(TestDistributedShell.java:71)
      Caused by: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.net.BindException: Problem binding to [0.0.0.0:10200] java.net.BindException: Address already in use; For more details see:  http://wiki.apache.org/hadoop/BindException
      	at org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl.getServer(RpcServerFactoryPBImpl.java:139)
      	at org.apache.hadoop.yarn.ipc.HadoopYarnProtoRPC.getServer(HadoopYarnProtoRPC.java:65)
      	at org.apache.hadoop.yarn.ipc.YarnRPC.getServer(YarnRPC.java:54)
      	at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryClientService.serviceStart(ApplicationHistoryClientService.java:93)
      	at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
      	at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:120)
      	at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.serviceStart(ApplicationHistoryServer.java:118)
      	at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
      	at org.apache.hadoop.yarn.server.MiniYARNCluster$ApplicationHistoryServerWrapper$1.run(MiniYARNCluster.java:715)
      

      https://builds.apache.org/job/Hadoop-Yarn-trunk/1290/

      1. YARN-4289.patch
        2 kB
        Brahma Reddy Battula

        Activity

        Hide
        brahmareddy Brahma Reddy Battula added a comment -

        Uploaded the patch to fix the bind error..Kindly review..

        Show
        brahmareddy Brahma Reddy Battula added a comment - Uploaded the patch to fix the bind error..Kindly review..
        Hide
        hadoopqa Hadoop QA added a comment -



        -1 overall



        Vote Subsystem Runtime Comment
        0 pre-patch 6m 4s 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 52s There were no new javac warning messages.
        +1 release audit 0m 21s The applied patch does not increase the total number of release audit warnings.
        +1 checkstyle 0m 21s There were no new checkstyle issues.
        -1 whitespace 0m 0s The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix.
        +1 install 1m 32s mvn install still works.
        +1 eclipse:eclipse 0m 33s The patch built with eclipse:eclipse.
        +1 findbugs 0m 42s The patch does not introduce any new Findbugs (version 3.0.0) warnings.
        +1 yarn tests 6m 54s Tests passed in hadoop-yarn-applications-distributedshell.
            24m 22s  



        Subsystem Report/Notes
        Patch URL http://issues.apache.org/jira/secure/attachment/12768066/YARN-4289.patch
        Optional Tests javac unit findbugs checkstyle
        git revision trunk / 4c0bae2
        whitespace https://builds.apache.org/job/PreCommit-YARN-Build/9525/artifact/patchprocess/whitespace.txt
        hadoop-yarn-applications-distributedshell test log https://builds.apache.org/job/PreCommit-YARN-Build/9525/artifact/patchprocess/testrun_hadoop-yarn-applications-distributedshell.txt
        Test Results https://builds.apache.org/job/PreCommit-YARN-Build/9525/testReport/
        Java 1.7.0_55
        uname Linux asf905.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-YARN-Build/9525/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 6m 4s 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 52s There were no new javac warning messages. +1 release audit 0m 21s The applied patch does not increase the total number of release audit warnings. +1 checkstyle 0m 21s There were no new checkstyle issues. -1 whitespace 0m 0s The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix. +1 install 1m 32s mvn install still works. +1 eclipse:eclipse 0m 33s The patch built with eclipse:eclipse. +1 findbugs 0m 42s The patch does not introduce any new Findbugs (version 3.0.0) warnings. +1 yarn tests 6m 54s Tests passed in hadoop-yarn-applications-distributedshell.     24m 22s   Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12768066/YARN-4289.patch Optional Tests javac unit findbugs checkstyle git revision trunk / 4c0bae2 whitespace https://builds.apache.org/job/PreCommit-YARN-Build/9525/artifact/patchprocess/whitespace.txt hadoop-yarn-applications-distributedshell test log https://builds.apache.org/job/PreCommit-YARN-Build/9525/artifact/patchprocess/testrun_hadoop-yarn-applications-distributedshell.txt Test Results https://builds.apache.org/job/PreCommit-YARN-Build/9525/testReport/ Java 1.7.0_55 uname Linux asf905.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-YARN-Build/9525/console This message was automatically generated.
        Hide
        stevel@apache.org Steve Loughran added a comment -

        +1,committing

        Show
        stevel@apache.org Steve Loughran added a comment - +1,committing
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-trunk-Commit #8701 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8701/)
        YARN-4289. TestDistributedShell failing with bind exception. (Brahma (stevel: rev 14f8dd04230ff42c5235eb240f84b8112c5302b5)

        • hadoop-yarn-project/CHANGES.txt
        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #8701 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8701/ ) YARN-4289 . TestDistributedShell failing with bind exception. (Brahma (stevel: rev 14f8dd04230ff42c5235eb240f84b8112c5302b5) hadoop-yarn-project/CHANGES.txt hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Yarn-trunk #1315 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/1315/)
        YARN-4289. TestDistributedShell failing with bind exception. (Brahma (stevel: rev 14f8dd04230ff42c5235eb240f84b8112c5302b5)

        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #1315 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/1315/ ) YARN-4289 . TestDistributedShell failing with bind exception. (Brahma (stevel: rev 14f8dd04230ff42c5235eb240f84b8112c5302b5) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java hadoop-yarn-project/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #580 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/580/)
        YARN-4289. TestDistributedShell failing with bind exception. (Brahma (stevel: rev 14f8dd04230ff42c5235eb240f84b8112c5302b5)

        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #580 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/580/ ) YARN-4289 . TestDistributedShell failing with bind exception. (Brahma (stevel: rev 14f8dd04230ff42c5235eb240f84b8112c5302b5) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java hadoop-yarn-project/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk #2524 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2524/)
        YARN-4289. TestDistributedShell failing with bind exception. (Brahma (stevel: rev 14f8dd04230ff42c5235eb240f84b8112c5302b5)

        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #2524 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2524/ ) YARN-4289 . TestDistributedShell failing with bind exception. (Brahma (stevel: rev 14f8dd04230ff42c5235eb240f84b8112c5302b5) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java hadoop-yarn-project/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #592 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/592/)
        YARN-4289. TestDistributedShell failing with bind exception. (Brahma (stevel: rev 14f8dd04230ff42c5235eb240f84b8112c5302b5)

        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #592 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/592/ ) YARN-4289 . TestDistributedShell failing with bind exception. (Brahma (stevel: rev 14f8dd04230ff42c5235eb240f84b8112c5302b5) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java hadoop-yarn-project/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk #2471 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2471/)
        YARN-4289. TestDistributedShell failing with bind exception. (Brahma (stevel: rev 14f8dd04230ff42c5235eb240f84b8112c5302b5)

        • hadoop-yarn-project/CHANGES.txt
        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2471 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2471/ ) YARN-4289 . TestDistributedShell failing with bind exception. (Brahma (stevel: rev 14f8dd04230ff42c5235eb240f84b8112c5302b5) hadoop-yarn-project/CHANGES.txt hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #534 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/534/)
        YARN-4289. TestDistributedShell failing with bind exception. (Brahma (stevel: rev 14f8dd04230ff42c5235eb240f84b8112c5302b5)

        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #534 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/534/ ) YARN-4289 . TestDistributedShell failing with bind exception. (Brahma (stevel: rev 14f8dd04230ff42c5235eb240f84b8112c5302b5) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java hadoop-yarn-project/CHANGES.txt

          People

          • Assignee:
            brahmareddy Brahma Reddy Battula
            Reporter:
            brahmareddy Brahma Reddy Battula
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development