[
https://issues.apache.org/jira/browse/YARN-932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719820#comment-13719820
]
Alejandro Abdelnur commented on YARN-932:
-----------------------------------------
Then why not just configure in the surefire plugin the yarn.log.dir system
property to point to ${maven.project.build}/logs ?
> 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