[ https://issues.apache.org/jira/browse/HDDS-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899955#comment-16899955 ]
Hudson commented on HDDS-1798: ------------------------------ FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #17039 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/17039/]) HDDS-1798. Propagate failure in writeStateMachineData to Ratis. (31469764+bshashikant: rev f8ea6e1ce132c65d5ce11597818bbf972717711a) * (edit) hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/ContainerStateMachine.java * (edit) hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerStateMachine.java * (edit) hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerStateMachineFailures.java * (edit) hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/CSMMetrics.java > Propagate failure in writeStateMachineData to Ratis > --------------------------------------------------- > > Key: HDDS-1798 > URL: https://issues.apache.org/jira/browse/HDDS-1798 > Project: Hadoop Distributed Data Store > Issue Type: Sub-task > Components: Ozone Datanode > Reporter: Supratim Deka > Assignee: Supratim Deka > Priority: Major > Labels: pull-request-available > Fix For: 0.5.0 > > Time Spent: 1h 50m > Remaining Estimate: 0h > > Currently, > writeStateMachineData() returns a future to Ratis. This future does not track > any errors or failures encountered as part of the operation - WriteChunk / > handleWriteChunk(). The error is propagated back to the client in the form of > an error code embedded inside writeChunkResponseProto. But the error goes > undetected and unhandled in the Ratis server. The future handed back to Ratis > is always completed with success. > The goal is to detect any errors in writeStateMachineData in Ratis and treat > is as a failure of the Ratis log. Handling for which is already implemented > in HDDS-1603. > -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org