Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.1
    • Component/s: mrv1
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Target Version/s:

      Description

      TestJobHistory fails.

      >>> org.apache.hadoop.mapred.TestJobHistory.testDoneFolderOnHDFS
      >>> org.apache.hadoop.mapred.TestJobHistory.testDoneFolderNotOnDefaultFileSystem
      >>> org.apache.hadoop.mapred.TestJobHistory.testHistoryFolderOnHDFS
      >>> org.apache.hadoop.mapred.TestJobHistory.testJobHistoryFile

      It looks like this was introduced by MAPREDUCE-3349 and the issue is that the test expects the hostname to be in the format rackname/hostname, but with 3349 it split those apart into 2 different fields.

        Activity

        Hide
        Thomas Graves added a comment -

        One of the errors with added debug into to print hostname and expected hostname

        Host name : host1.foo.com of task attempt attempt_20120109210634113_0001_m_000002_0 obtained from history file did not match the expected value /default-rack/host1.foo.comjunit.framework.AssertionFailedError: Host name : host1.foo.com of task attempt attempt_20120109210634113_0001_m_000002_0 obtained from history file did not match the expected value /default-rack/host1.foo.com at org.apache.hadoop.mapred.TestJobHistory.validateTaskAttemptLevelKeyValues(TestJobHistory.java:527) at org.apache.hadoop.mapred.TestJobHistory.validateJobHistoryFileContent(TestJobHistory.java:595)
        at org.apache.hadoop.mapred.TestJobHistory.runDoneFolderTest(TestJobHistory.java:751) at org.apache.hadoop.mapred.TestJobHistory.testDoneFolderOnHDFS(TestJobHistory.java:621)

        Show
        Thomas Graves added a comment - One of the errors with added debug into to print hostname and expected hostname Host name : host1.foo.com of task attempt attempt_20120109210634113_0001_m_000002_0 obtained from history file did not match the expected value /default-rack/host1.foo.comjunit.framework.AssertionFailedError: Host name : host1.foo.com of task attempt attempt_20120109210634113_0001_m_000002_0 obtained from history file did not match the expected value /default-rack/host1.foo.com at org.apache.hadoop.mapred.TestJobHistory.validateTaskAttemptLevelKeyValues(TestJobHistory.java:527) at org.apache.hadoop.mapred.TestJobHistory.validateJobHistoryFileContent(TestJobHistory.java:595) at org.apache.hadoop.mapred.TestJobHistory.runDoneFolderTest(TestJobHistory.java:751) at org.apache.hadoop.mapred.TestJobHistory.testDoneFolderOnHDFS(TestJobHistory.java:621)
        Hide
        Hadoop QA added a comment -

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

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

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

        +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 eclipse:eclipse. The patch built with eclipse:eclipse.

        -1 findbugs. The patch appears to introduce 1 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/1575//testReport/
        Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1575//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-app.html
        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1575//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/12509969/MAPREDUCE-3645.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +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 eclipse:eclipse. The patch built with eclipse:eclipse. -1 findbugs. The patch appears to introduce 1 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/1575//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1575//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-app.html Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1575//console This message is automatically generated.
        Hide
        Thomas Graves added a comment -

        findbugs warning is pre-existing.

        Show
        Thomas Graves added a comment - findbugs warning is pre-existing.
        Hide
        Mahadev konar added a comment -

        +1 the patch looks good.

        Show
        Mahadev konar added a comment - +1 the patch looks good.
        Hide
        Mahadev konar added a comment -

        I just committed this. Thanks Thomas!

        Show
        Mahadev konar added a comment - I just committed this. Thanks Thomas!
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #1603 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1603/)
        MAPREDUCE-3645. TestJobHistory fails. (Thomas Graves via mahadev)

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

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1603 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1603/ ) MAPREDUCE-3645 . TestJobHistory fails. (Thomas Graves via mahadev) mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230307 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Commit #358 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/358/)
        MAPREDUCE-3645. TestJobHistory fails. (Thomas Graves via mahadev) - Merging r1230307 from trunk.

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

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #358 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/358/ ) MAPREDUCE-3645 . TestJobHistory fails. (Thomas Graves via mahadev) - Merging r1230307 from trunk. mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230308 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #1530 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1530/)
        MAPREDUCE-3645. TestJobHistory fails. (Thomas Graves via mahadev)

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

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1530 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1530/ ) MAPREDUCE-3645 . TestJobHistory fails. (Thomas Graves via mahadev) mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230307 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-0.23-Commit #368 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/368/)
        MAPREDUCE-3645. TestJobHistory fails. (Thomas Graves via mahadev) - Merging r1230307 from trunk.

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

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #368 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/368/ ) MAPREDUCE-3645 . TestJobHistory fails. (Thomas Graves via mahadev) - Merging r1230307 from trunk. mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230308 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Commit #379 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/379/)
        MAPREDUCE-3645. TestJobHistory fails. (Thomas Graves via mahadev) - Merging r1230307 from trunk.

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

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Commit #379 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/379/ ) MAPREDUCE-3645 . TestJobHistory fails. (Thomas Graves via mahadev) - Merging r1230307 from trunk. mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230308 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #1549 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1549/)
        MAPREDUCE-3645. TestJobHistory fails. (Thomas Graves via mahadev)

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

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1549 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1549/ ) MAPREDUCE-3645 . TestJobHistory fails. (Thomas Graves via mahadev) mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230307 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #923 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/923/)
        MAPREDUCE-3645. TestJobHistory fails. (Thomas Graves via mahadev)

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

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #923 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/923/ ) MAPREDUCE-3645 . TestJobHistory fails. (Thomas Graves via mahadev) mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230307 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Build #136 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/136/)
        MAPREDUCE-3645. TestJobHistory fails. (Thomas Graves via mahadev) - Merging r1230307 from trunk.

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

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #136 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/136/ ) MAPREDUCE-3645 . TestJobHistory fails. (Thomas Graves via mahadev) - Merging r1230307 from trunk. mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230308 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Build #158 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/158/)
        MAPREDUCE-3645. TestJobHistory fails. (Thomas Graves via mahadev) - Merging r1230307 from trunk.

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

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #158 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/158/ ) MAPREDUCE-3645 . TestJobHistory fails. (Thomas Graves via mahadev) - Merging r1230307 from trunk. mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230308 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #956 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/956/)
        MAPREDUCE-3645. TestJobHistory fails. (Thomas Graves via mahadev)

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

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #956 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/956/ ) MAPREDUCE-3645 . TestJobHistory fails. (Thomas Graves via mahadev) mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230307 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java

          People

          • Assignee:
            Thomas Graves
            Reporter:
            Thomas Graves
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development