hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12181) Ozone:TestContainerReplicationManager fails because LogCapturer fails to find expected log messages
Date Fri, 21 Jul 2017 16:46:00 GMT

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

Xiaoyu Yao commented on HDFS-12181:
-----------------------------------

Thanks [~msingh] for reporting and fixing it. The fix looks good to me. We could simplify
the fix like below.

{code}
  @BeforeClass
  public static void init() {
    GenericTestUtils.setLogLevel(ContainerReplicationManager.LOG, Level.DEBUG);
  }
{code}

> Ozone:TestContainerReplicationManager fails because LogCapturer fails to find expected
log messages
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-12181
>                 URL: https://issues.apache.org/jira/browse/HDFS-12181
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Mukul Kumar Singh
>            Assignee: Mukul Kumar Singh
>             Fix For: HDFS-7240
>
>         Attachments: HDFS-12181-HDFS-7240.001.patch
>
>
> TestContainerReplicationManager fails consistently because the following lines are marked
at info level. Tests are looking for the log entries in the logcapturer and failing.
> {code}
>           if (pool.getLastProcessedTime() + this.containerProcessingLag <
>               Time.monotonicNow()) {
>      ----->  LOG.debug("Adding pool {} to container processing queue", pool
>                 .getPoolName());
>             InProgressPool inProgressPool =  new InProgressPool(maxPoolWait,
>                 pool, this.nodeManager, this.poolManager, this.commandQueue,
>                 this.executorService);
> {code}



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

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


Mime
View raw message