Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2963

TestMRJobs hangs waiting to connect to history server.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.23.0, 2.0.0-alpha
    • Fix Version/s: 0.23.0
    • Component/s: None
    • Labels:
      None

      Description

      TestMRJobs is hanging waiting to connect to history server. I will post the logs next.

      1. MR2963_v1.patch
        3 kB
        Siddharth Seth

        Activity

        Mahadev konar created issue -
        Hide
        Mahadev konar added a comment -
        Call: protocol=org.apache.hadoop.yarn.proto.MRClientProtocol.MRClientProtocolService.BlockingInterface, method=getTaskReports
        2011-09-08 17:10:50,808 INFO  mapred.ClientServiceDelegate (ClientServiceDelegate.java:invoke(242)) - Failed to contact AM for job job_1315526960327_0001  Will retry..
        Call: protocol=org.apache.hadoop.yarn.proto.ClientRMProtocol.ClientRMProtocolService.BlockingInterface, method=getApplicationReport
        2011-09-08 17:10:50,808 INFO  mapred.ClientServiceDelegate (ClientServiceDelegate.java:getProxy(199)) - Application state is completed. Redirecting to job history server null
        Call: protocol=org.apache.hadoop.yarn.proto.MRClientProtocol.MRClientProtocolService.BlockingInterface, method=getTaskReports
        2011-09-08 17:10:50,809 INFO  mapred.ClientServiceDelegate (ClientServiceDelegate.java:invoke(242)) - Failed to contact AM for job job_1315526960327_0001  Will retry..
        Call: protocol=org.apache.hadoop.yarn.proto.ClientRMProtocol.ClientRMProtocolService.BlockingInterface, method=getApplicationReport
        2011-09-08 17:10:50,809 INFO  mapred.ClientServiceDelegate (ClientServiceDelegate.java:getProxy(199)) - Application state is completed. Redirecting to job history server null
        Call: protocol=org.apache.hadoop.yarn.proto.MRClientProtocol.MRClientProtocolService.BlockingInterface, method=getTaskReports
        2011-09-08 17:10:50,809 INFO  mapred.ClientServiceDelegate (ClientServiceDelegate.java:invoke(242)) - Failed to contact AM for job job_1315526960
        
        

        This is trace I see when the first job completes in the TestMRJobs.

        Show
        Mahadev konar added a comment - Call: protocol=org.apache.hadoop.yarn.proto.MRClientProtocol.MRClientProtocolService.BlockingInterface, method=getTaskReports 2011-09-08 17:10:50,808 INFO mapred.ClientServiceDelegate (ClientServiceDelegate.java:invoke(242)) - Failed to contact AM for job job_1315526960327_0001 Will retry.. Call: protocol=org.apache.hadoop.yarn.proto.ClientRMProtocol.ClientRMProtocolService.BlockingInterface, method=getApplicationReport 2011-09-08 17:10:50,808 INFO mapred.ClientServiceDelegate (ClientServiceDelegate.java:getProxy(199)) - Application state is completed. Redirecting to job history server null Call: protocol=org.apache.hadoop.yarn.proto.MRClientProtocol.MRClientProtocolService.BlockingInterface, method=getTaskReports 2011-09-08 17:10:50,809 INFO mapred.ClientServiceDelegate (ClientServiceDelegate.java:invoke(242)) - Failed to contact AM for job job_1315526960327_0001 Will retry.. Call: protocol=org.apache.hadoop.yarn.proto.ClientRMProtocol.ClientRMProtocolService.BlockingInterface, method=getApplicationReport 2011-09-08 17:10:50,809 INFO mapred.ClientServiceDelegate (ClientServiceDelegate.java:getProxy(199)) - Application state is completed. Redirecting to job history server null Call: protocol=org.apache.hadoop.yarn.proto.MRClientProtocol.MRClientProtocolService.BlockingInterface, method=getTaskReports 2011-09-08 17:10:50,809 INFO mapred.ClientServiceDelegate (ClientServiceDelegate.java:invoke(242)) - Failed to contact AM for job job_1315526960 This is trace I see when the first job completes in the TestMRJobs.
        Siddharth Seth made changes -
        Field Original Value New Value
        Assignee Siddharth Seth [ sseth ]
        Hide
        Siddharth Seth added a comment -

        Trivial patch - getTaskReports wasn't setting request params. Haven't included any tests.

        Show
        Siddharth Seth added a comment - Trivial patch - getTaskReports wasn't setting request params. Haven't included any tests.
        Siddharth Seth made changes -
        Attachment MR2963_v1.patch [ 12493719 ]
        Siddharth Seth made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 0.24.0 [ 12317654 ]
        Fix Version/s 0.24.0 [ 12317654 ]
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12493719/MR2963_v1.patch
        against trunk revision .

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

        -1 tests included. 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 javadoc. The javadoc tool did not generate any warning messages.

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

        +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 passed unit tests in .

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

        Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//testReport/
        Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-hs.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-shuffle.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-common.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-app.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-jobclient.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-core.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-yarn-server-common.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-yarn-server-resourcemanager.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-yarn-server-nodemanager.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-yarn-common.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-yarn-api.html
        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//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/12493719/MR2963_v1.patch against trunk revision . +1 @author. The patch does not contain any @author tags. -1 tests included. 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 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +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 passed unit tests in . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-hs.html Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-shuffle.html Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-app.html Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-jobclient.html Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-core.html Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-yarn-server-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-yarn-server-resourcemanager.html Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-yarn-server-nodemanager.html Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-yarn-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-yarn-api.html Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/670//console This message is automatically generated.
        Hide
        Arun C Murthy added a comment -

        I just committed this. Thanks Sid!

        Show
        Arun C Murthy added a comment - I just committed this. Thanks Sid!
        Arun C Murthy made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.24.0 [ 12317654 ]
        Resolution Fixed [ 1 ]
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #857 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/857/)
        MAPREDUCE-2963. Fix hang in TestMRJobs. Contributed by Siddharth Seth.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1166975
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ClientServiceDelegate.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #857 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/857/ ) MAPREDUCE-2963 . Fix hang in TestMRJobs. Contributed by Siddharth Seth. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1166975 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ClientServiceDelegate.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #934 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/934/)
        MAPREDUCE-2963. Fix hang in TestMRJobs. Contributed by Siddharth Seth.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1166975
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ClientServiceDelegate.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #934 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/934/ ) MAPREDUCE-2963 . Fix hang in TestMRJobs. Contributed by Siddharth Seth. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1166975 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ClientServiceDelegate.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #868 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/868/)
        MAPREDUCE-2963. Fix hang in TestMRJobs. Contributed by Siddharth Seth.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1166975
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ClientServiceDelegate.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #868 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/868/ ) MAPREDUCE-2963 . Fix hang in TestMRJobs. Contributed by Siddharth Seth. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1166975 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ClientServiceDelegate.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #788 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/788/)
        MAPREDUCE-2963. Fix hang in TestMRJobs. Contributed by Siddharth Seth.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1166975
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ClientServiceDelegate.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #788 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/788/ ) MAPREDUCE-2963 . Fix hang in TestMRJobs. Contributed by Siddharth Seth. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1166975 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ClientServiceDelegate.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #812 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/812/)
        MAPREDUCE-2963. Fix hang in TestMRJobs. Contributed by Siddharth Seth.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1166975
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ClientServiceDelegate.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #812 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/812/ ) MAPREDUCE-2963 . Fix hang in TestMRJobs. Contributed by Siddharth Seth. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1166975 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ClientServiceDelegate.java
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Allen Wittenauer made changes -
        Affects Version/s 2.0.0-alpha [ 12320354 ]
        Affects Version/s 0.24.0 [ 12317654 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        2h 26m 1 Siddharth Seth 09/Sep/11 03:40
        Patch Available Patch Available Resolved Resolved
        21m 9s 1 Arun C Murthy 09/Sep/11 04:01
        Resolved Resolved Closed Closed
        66d 21h 47m 1 Arun C Murthy 15/Nov/11 00:48

          People

          • Assignee:
            Siddharth Seth
            Reporter:
            Mahadev konar
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development