[
https://issues.apache.org/jira/browse/YARN-932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karthik Kambatla updated YARN-932:
----------------------------------
Attachment: yarn-932-1.patch
The fix is trivial - set the log_dir in testLocalizationInit explicitly.
Verified the fix works by moving the test to the end using JDK6.
> TestResourceLocalizationService.testLocalizationInit can fail on JDK7
> ---------------------------------------------------------------------
>
> Key: YARN-932
> URL: https://issues.apache.org/jira/browse/YARN-932
> Project: Hadoop YARN
> Issue Type: Bug
> Affects Versions: 2.1.0-beta
> Reporter: Sandy Ryza
> Assignee: Karthik Kambatla
> Attachments: yarn-932-1.patch
>
>
> It looks like this is occurring when testLocalizationInit doesn't run first.
> Somehow yarn.nodemanager.log-dirs is getting set by one of the other tests
> (to ${yarn.log.dir}/userlogs), but yarn.log.dir isn't being set.
--
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