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] [Updated] (YARN-4155) TestLogAggregationService.testLogAggregationServiceWithInterval failing
Date Sat, 26 Sep 2015 12:45:04 GMT

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

Bibin A Chundatt updated YARN-4155:
-----------------------------------
    Attachment: 0003-YARN-4155.patch

Hi [~stevel@apache.org]

Looked into the issue again seems timing issue.

{{TestLogAggregationService#numOfLogsAvailable}} is checked immediately on {{aggregator.doLogAggregationOutOfBand()}}
call .
When logaggregation is in progress file name will be with extension *.tmp* 

{{TestLogAggregationService#numOfLogsAvailable}} 
{code}
if (filename.contains(LogAggregationUtils.TMP_FILE_SUFFIX)
          || (lastLogFile != null && filename.contains(lastLogFile)
              && sizeLimited)) {
        LOG.info("fileName :" + filename);
        LOG.info("lastLogFile :" + lastLogFile);
        return -1;
      }
{code}
Returns -1
Attaching patch based on the same.

> TestLogAggregationService.testLogAggregationServiceWithInterval failing
> -----------------------------------------------------------------------
>
>                 Key: YARN-4155
>                 URL: https://issues.apache.org/jira/browse/YARN-4155
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0
>         Environment: Jenkins
>            Reporter: Steve Loughran
>            Assignee: Bibin A Chundatt
>            Priority: Critical
>         Attachments: 0001-YARN-4155.patch, 0001-YARN-4155.patch, 0003-YARN-4155.patch
>
>
> Test failing on Jenkins: {{TestLogAggregationService.testLogAggregationServiceWithInterval}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message