Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4673

make TestRawHistoryFile and TestJobHistoryServer more robust

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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>
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: