bshashikant commented on issue #576: HDDS-2716. Add integration test to verify 
pipeline closed on read statemachine failure
URL: https://github.com/apache/hadoop-ozone/pull/576#issuecomment-591943391
 
 
   > Hi @adoroszlai, I am not able to repro this problem and the test exception 
trace is not sufficient to identify what is wrong:
   > java.io.IOException: INTERNAL_ERROR 
org.apache.hadoop.ozone.om.exceptions.OMException: Allocated 0 blocks. 
Requested 1 blocks
   > @bharatviswa504 any idea if a recent regression was introduced?
   
   Thanks @swagle for continuing with this and @adoroszlai for testing it out. 
@swagle , Let's add a container creation call to the after creating the ozone 
key and before shutting down the datanode and use 
ContainerTestHelper.isRatisFollower/isRatisLeader Api to selectively shhutdown 
dn in the test instead of relying on the leader info from the pipeline object.. 
Creating the container before writing data will make sure the pipeline is 
healthy and way before writing and using dn to determine the ratis role will 
always ensure you are shutting down a follower always rather than relying on 
scm to tell which may be outdated?

----------------------------------------------------------------
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]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to