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

make TestRawHistoryFile and TestJobHistoryServer more robust

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0, 1.2.0
    • Fix Version/s: 1.1.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Fixed TestRawHistoryFile and TestJobHistoryServer to not write to /tmp.

      Description

      these unit tests fail if 2 different users run them on the same host as they are using /tmp/input path

      following is the info from the test log

      testcase classname="org.apache.hadoop.mapred.TestJobHistoryServer" name="testHistoryServerStandalone" time="4.572">
          <failure message="/tmp/.input.crc (Permission denied)" type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: /tmp/.input.crc (Permission denied)
              at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)
      </failure>
      
      1. MAPREDUCE-4673.branch-1.patch
        4 kB
        Arpit Gupta
      2. MAPREDUCE-4673.branch-1.patch
        4 kB
        Arpit Gupta

        Activity

        Arpit Gupta created issue -
        Arpit Gupta made changes -
        Field Original Value New Value
        Attachment MAPREDUCE-4673.branch-1.patch [ 12546072 ]
        Arpit Gupta made changes -
        Attachment MAPREDUCE-4673.branch-1.patch [ 12546237 ]
        Vinod Kumar Vavilapalli made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Release Note Fixed TestRawHistoryFile and TestJobHistoryServer to not write to /tmp.
        Fix Version/s 1.1.0 [ 12317960 ]
        Resolution Fixed [ 1 ]
        Matt Foley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arpit Gupta
            Reporter:
            Arpit Gupta
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development