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 "Shashikant Banerjee (JIRA)" <ji...@apache.org> on 2019/04/01 17:11:00 UTC

[jira] [Comment Edited] (HDDS-1337) Handle GroupMismatchException in OzoneClient

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

Shashikant Banerjee edited comment on HDDS-1337 at 4/1/19 5:10 PM:
-------------------------------------------------------------------

Thanks [~linyiqun] for the review.
{code:java}
+        System.out.println("Pipeline exist " + raftServer.getPipelineIds()
+            .contains(pipeline.getId()));
+        /* GenericTestUtils.waitFor(
+            () -> (!raftServer.getPipelineIds()
+                .contains(pipeline.getId())), 500, 100 * 1000 );*/
{code}
The logging line has been removed as its not really required. The wait condition just ensures the pipeline has been removed on the datanode.

Rest of the review comments and checkstyle issues have been addressed with patch v4.


was (Author: shashikant):
Thanks [~linyiqun] for the review. 
{code:java}
+        System.out.println("Pipeline exist " + raftServer.getPipelineIds()
+            .contains(pipeline.getId()));
+        /* GenericTestUtils.waitFor(
+            () -> (!raftServer.getPipelineIds()
+                .contains(pipeline.getId())), 500, 100 * 1000 );*/
{code}

The logging line has been removed as its not really required. The wait condition just ensures the pipeline has been removed on the datanode.

Rest of the review . comments and checkstyle issues have been addressed with patch v4.


> Handle GroupMismatchException in OzoneClient
> --------------------------------------------
>
>                 Key: HDDS-1337
>                 URL: https://issues.apache.org/jira/browse/HDDS-1337
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: Ozone Client
>            Reporter: Shashikant Banerjee
>            Assignee: Shashikant Banerjee
>            Priority: Blocker
>              Labels: Blocker
>             Fix For: 0.4.0
>
>         Attachments: HDDS-1337.000.patch, HDDS-1337.001.patch, HDDS-1337.002.patch, HDDS-1337.004.patch
>
>
> If a pipeline gets destroyed in ozone client, ozone client may hit GroupMismatchException from Ratis. In cases as such, client should exclude the pipeline and retry write to a different block.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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