[
https://issues.apache.org/jira/browse/MAPREDUCE-4673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460673#comment-13460673
]
Arpit Gupta commented on MAPREDUCE-4673:
----------------------------------------
ran the tests for both the classes and tests passed.
> make TestRawHistoryFile and TestJobHistoryServer more robust
> ------------------------------------------------------------
>
> Key: MAPREDUCE-4673
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4673
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: test
> Affects Versions: 1.1.0, 1.2.0
> Reporter: Arpit Gupta
> Assignee: Arpit Gupta
> Attachments: MAPREDUCE-4673.branch-1.patch
>
>
> 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
> {code}
> 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>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira