[ 
https://issues.apache.org/jira/browse/YARN-852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chuan Liu updated YARN-852:
---------------------------

    Attachment: YARN-852-trunk.patch

Attaching a patch that fixes the two problems mentioned in the description.
                
> TestAggregatedLogFormat.testContainerLogsFileAccess fails on Windows
> --------------------------------------------------------------------
>
>                 Key: YARN-852
>                 URL: https://issues.apache.org/jira/browse/YARN-852
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Chuan Liu
>            Assignee: Chuan Liu
>            Priority: Minor
>         Attachments: YARN-852-trunk.patch
>
>
> The YARN unit test case fails on Windows when comparing expected message with 
> log message in the file. The expected message constructed in the test case 
> has two problems: 1) it uses Path.separator to concatenate path string. 
> Path.separator is always a forward slash, which does not match the backslash 
> used in the log message. 2) On Windows, the default file owner is 
> Administrators group if the file is created by an Administrators user. The 
> test expect the user to be the current user.

--
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

Reply via email to