[
https://issues.apache.org/jira/browse/HDDS-1955?focusedWorklogId=293770&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-293770
]
ASF GitHub Bot logged work on HDDS-1955:
----------------------------------------
Author: ASF GitHub Bot
Created on: 13/Aug/19 09:31
Start Date: 13/Aug/19 09:31
Worklog Time Spent: 10m
Work Description: bshashikant commented on pull request #1281: HDDS-1955.
TestBlockOutputStreamWithFailures#test2DatanodesFailure failing because of
assertion error. Contributed by Mukul Kumar Singh.
URL: https://github.com/apache/hadoop/pull/1281#discussion_r313302193
##########
File path:
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestBlockOutputStreamWithFailures.java
##########
@@ -501,14 +501,14 @@ public void test2DatanodesFailure() throws Exception {
// and one flush for partial chunk
key.flush();
+ Throwable ioException = HddsClientUtils.checkForException(
+ blockOutputStream.getIoException());
// Since, 2 datanodes went down, if the pipeline gets destroyed quickly,
// it will hit GroupMismatchException else, it will fail with
// RaftRetryFailureException
Review comment:
Please update the comment stating it can also fail with container not open
exception in case the containers got closed quickly.
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 293770)
Time Spent: 0.5h (was: 20m)
> TestBlockOutputStreamWithFailures#test2DatanodesFailure failing because of
> assertion error
> ------------------------------------------------------------------------------------------
>
> Key: HDDS-1955
> URL: https://issues.apache.org/jira/browse/HDDS-1955
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: Ozone Client
> Affects Versions: 0.4.0
> Reporter: Mukul Kumar Singh
> Assignee: Mukul Kumar Singh
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The test is failing because pipeline can be closed because of the datanode
> shutdown. This can also cause a ContainerNotOpenException to be raised.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]