You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/09/10 08:35:01 UTC

[jira] [Work logged] (HDDS-2103) TestContainerReplication fails due to unhealthy container

     [ https://issues.apache.org/jira/browse/HDDS-2103?focusedWorklogId=309621&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-309621 ]

ASF GitHub Bot logged work on HDDS-2103:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 10/Sep/19 08:34
            Start Date: 10/Sep/19 08:34
    Worklog Time Spent: 10m 
      Work Description: adoroszlai commented on pull request #1421: HDDS-2103. TestContainerReplication fails due to unhealthy container
URL: https://github.com/apache/hadoop/pull/1421
 
 
   ## What changes were proposed in this pull request?
   
   Change `TestContainerReplication` to close the container directly via client.
   
   https://issues.apache.org/jira/browse/HDDS-2103
   
   ## How was this patch tested?
   
   Ran the changed unit test - passes, no other code changed.  Checkstyle passes.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 309621)
    Remaining Estimate: 0h
            Time Spent: 10m

> TestContainerReplication fails due to unhealthy container
> ---------------------------------------------------------
>
>                 Key: HDDS-2103
>                 URL: https://issues.apache.org/jira/browse/HDDS-2103
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.5.0
>            Reporter: Doroszlai, Attila
>            Assignee: Doroszlai, Attila
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {code:title=https://github.com/elek/ozone-ci/blob/master/trunk/trunk-nightly-20190907-l8mkd/integration/hadoop-ozone/integration-test/org.apache.hadoop.ozone.container.TestContainerReplication.txt}
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 12.771 s <<< FAILURE! - in org.apache.hadoop.ozone.container.TestContainerReplication
> testContainerReplication(org.apache.hadoop.ozone.container.TestContainerReplication)  Time elapsed: 12.702 s  <<< FAILURE!
> java.lang.AssertionError: Container is not replicated to the destination datanode
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.assertTrue(Assert.java:41)
> 	at org.junit.Assert.assertNotNull(Assert.java:621)
> 	at org.apache.hadoop.ozone.container.TestContainerReplication.testContainerReplication(TestContainerReplication.java:153)
> {code}
> caused by:
> {code:title=https://github.com/elek/ozone-ci/blob/master/trunk/trunk-nightly-20190907-l8mkd/integration/hadoop-ozone/integration-test/org.apache.hadoop.ozone.container.TestContainerReplication-output.txt}
> java.lang.IllegalStateException: Only closed containers could be exported: ContainerId=1
> 	at org.apache.hadoop.ozone.container.keyvalue.KeyValueContainer.exportContainerData(KeyValueContainer.java:525)
> 	at org.apache.hadoop.ozone.container.keyvalue.KeyValueHandler.exportContainer(KeyValueHandler.java:875)
> 	at org.apache.hadoop.ozone.container.ozoneimpl.ContainerController.exportContainer(ContainerController.java:134)
> 	at org.apache.hadoop.ozone.container.replication.OnDemandContainerReplicationSource.copyData(OnDemandContainerReplicationSource.java:64)
> 	at org.apache.hadoop.ozone.container.replication.GrpcReplicationService.download(GrpcReplicationService.java:63)
> {code}
> Container is in unhealthy state because pipeline is not found for it in {{CloseContainerCommandHandler}}.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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