Xuan Gong commented on YARN-2747:

This testcase testContainerLogsFileAccess in TestAggregatedLogFormat is using 
NativeIO. That is why we could not re-produce this testcase failure in MacOS 
(it will ignore it). But I can reproduce it in Centos.

Anyway, the reason for this testcase failure is because after YARN-2724, if we 
could not open the fileInputStream, no matter what is the reason (permission or 
invalid user), we will just log the error message locally (Originally, we also 
log the error message into LogFile. That is why this testcase fails). 

> TestAggregatedLogFormat fails in trunk
> --------------------------------------
>                 Key: YARN-2747
>                 URL: https://issues.apache.org/jira/browse/YARN-2747
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
> Running org.apache.hadoop.yarn.logaggregation.TestAggregatedLogFormat
> Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.105 sec <<< 
> FAILURE! - in org.apache.hadoop.yarn.logaggregation.TestAggregatedLogFormat
> testContainerLogsFileAccess(org.apache.hadoop.yarn.logaggregation.TestAggregatedLogFormat)
>   Time elapsed: 0.047 sec  <<< FAILURE!
> java.lang.AssertionError: null
>       at org.junit.Assert.fail(Assert.java:86)
>       at org.junit.Assert.assertTrue(Assert.java:41)
>       at org.junit.Assert.assertTrue(Assert.java:52)
>       at 
> org.apache.hadoop.yarn.logaggregation.TestAggregatedLogFormat.testContainerLogsFileAccess(TestAggregatedLogFormat.java:346)

This message was sent by Atlassian JIRA

Reply via email to