hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-852) TestAggregatedLogFormat.testContainerLogsFileAccess fails on Windows
Date Wed, 19 Jun 2013 18:30:23 GMT

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

Chris Nauroth updated YARN-852:
-------------------------------

    Target Version/s: 3.0.0, 2.1.0-beta
        Hadoop Flags: Reviewed

+1 for the patch.  I verified the test on Mac and Windows.  Thanks, Chuan!  I'll commit this
shortly.
                
> TestAggregatedLogFormat.testContainerLogsFileAccess fails on Windows
> --------------------------------------------------------------------
>
>                 Key: YARN-852
>                 URL: https://issues.apache.org/jira/browse/YARN-852
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.1.0-beta
>            Reporter: Chuan Liu
>            Assignee: Chuan Liu
>            Priority: Minor
>         Attachments: YARN-852-trunk.patch, 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

Mime
View raw message