hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bibin A Chundatt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7154) TestLogsCLI fails on trunk
Date Tue, 05 Sep 2017 05:07:03 GMT

    [ https://issues.apache.org/jira/browse/YARN-7154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16153111#comment-16153111
] 

Bibin A Chundatt commented on YARN-7154:
----------------------------------------

Duplication of YARN-7148

> TestLogsCLI fails on trunk
> --------------------------
>
>                 Key: YARN-7154
>                 URL: https://issues.apache.org/jira/browse/YARN-7154
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Varun Saxena
>
> Refer to https://builds.apache.org/job/PreCommit-YARN-Build/17277/testReport/
> {noformat}
> Running org.apache.hadoop.yarn.client.cli.TestLogsCLI
> Tests run: 15, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 1.651 sec <<<
FAILURE! - in org.apache.hadoop.yarn.client.cli.TestLogsCLI
> testFetchApplictionLogsHar(org.apache.hadoop.yarn.client.cli.TestLogsCLI)  Time elapsed:
0.618 sec  <<< ERROR!
> java.io.IOException: 
> 	at org.apache.hadoop.yarn.logaggregation.filecontroller.LogAggregationFileControllerFactory.getFileControllerForRead(LogAggregationFileControllerFactory.java:179)
> 	at org.apache.hadoop.yarn.logaggregation.LogCLIHelpers.getFileController(LogCLIHelpers.java:369)
> 	at org.apache.hadoop.yarn.logaggregation.LogCLIHelpers.dumpAllContainersLogs(LogCLIHelpers.java:158)
> 	at org.apache.hadoop.yarn.client.cli.LogsCLI.fetchApplicationLogs(LogsCLI.java:1019)
> 	at org.apache.hadoop.yarn.client.cli.LogsCLI.runCommand(LogsCLI.java:301)
> 	at org.apache.hadoop.yarn.client.cli.LogsCLI.run(LogsCLI.java:108)
> 	at org.apache.hadoop.yarn.client.cli.TestLogsCLI.testFetchApplictionLogsHar(TestLogsCLI.java:1269)
> testFailResultCodes(org.apache.hadoop.yarn.client.cli.TestLogsCLI)  Time elapsed: 0.031
sec  <<< ERROR!
> java.io.IOException: File /tmp/logs/root1/logs/application_0_0000 does not exist
> 	at org.apache.hadoop.yarn.logaggregation.filecontroller.LogAggregationFileControllerFactory.getFileControllerForRead(LogAggregationFileControllerFactory.java:179)
> 	at org.apache.hadoop.yarn.logaggregation.LogCLIHelpers.getFileController(LogCLIHelpers.java:369)
> 	at org.apache.hadoop.yarn.logaggregation.LogCLIHelpers.dumpAllContainersLogs(LogCLIHelpers.java:158)
> 	at org.apache.hadoop.yarn.client.cli.LogsCLI.fetchApplicationLogs(LogsCLI.java:1019)
> 	at org.apache.hadoop.yarn.client.cli.LogsCLI.runCommand(LogsCLI.java:301)
> 	at org.apache.hadoop.yarn.client.cli.LogsCLI.run(LogsCLI.java:108)
> 	at org.apache.hadoop.yarn.client.cli.TestLogsCLI.testFailResultCodes(TestLogsCLI.java:122)
> testFetchApplictionLogsAsAnotherUser(org.apache.hadoop.yarn.client.cli.TestLogsCLI) 
Time elapsed: 0.025 sec  <<< ERROR!
> java.io.IOException: File file:/home/root1/Committer/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/target/logs/invalid/logs/application_0_0001
does not exist
> 	at org.apache.hadoop.yarn.logaggregation.filecontroller.LogAggregationFileControllerFactory.getFileControllerForRead(LogAggregationFileControllerFactory.java:179)
> 	at org.apache.hadoop.yarn.logaggregation.LogCLIHelpers.getFileController(LogCLIHelpers.java:369)
> 	at org.apache.hadoop.yarn.logaggregation.LogCLIHelpers.dumpAllContainersLogs(LogCLIHelpers.java:158)
> 	at org.apache.hadoop.yarn.client.cli.LogsCLI.fetchApplicationLogs(LogsCLI.java:1019)
> 	at org.apache.hadoop.yarn.client.cli.LogsCLI.runCommand(LogsCLI.java:301)
> 	at org.apache.hadoop.yarn.client.cli.LogsCLI.run(LogsCLI.java:108)
> 	at org.apache.hadoop.yarn.client.cli.TestLogsCLI.testFetchApplictionLogsAsAnotherUser(TestLogsCLI.java:858)
> Results :
> Tests in error: 
>   TestLogsCLI.testFetchApplictionLogsHar:1269 » IO 
>   TestLogsCLI.testFailResultCodes:122 » IO File /tmp/logs/root1/logs/application...
>   TestLogsCLI.testFetchApplictionLogsAsAnotherUser:858 » IO File file:/home/root...
> Tests run: 15, Failures: 0, Errors: 3, Skipped: 0
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message