Chuan Liu created YARN-852: ------------------------------ Summary: 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
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