You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by na...@apache.org on 2019/08/06 09:06:13 UTC

[hadoop] branch trunk updated: HDDS-1905. PipelineActionHandler is not closing the pipeline when close action is received. (#1227)

This is an automated email from the ASF dual-hosted git repository.

nanda pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 2662e20  HDDS-1905. PipelineActionHandler is not closing the pipeline when close action is received. (#1227)
2662e20 is described below

commit 2662e20580175c0824cbeb480edb05ffc00858e5
Author: Nanda kumar <na...@apache.org>
AuthorDate: Tue Aug 6 14:36:04 2019 +0530

    HDDS-1905. PipelineActionHandler is not closing the pipeline when close action is received. (#1227)
---
 .../java/org/apache/hadoop/hdds/scm/pipeline/PipelineActionHandler.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/PipelineActionHandler.java b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/PipelineActionHandler.java
index 34e974a..8d040f1 100644
--- a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/PipelineActionHandler.java
+++ b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/PipelineActionHandler.java
@@ -61,6 +61,7 @@ public class PipelineActionHandler
                   "Reason : {}", action.getAction(), pipeline,
               report.getDatanodeDetails(),
               action.getClosePipeline().getDetailedReason());
+          pipelineManager.finalizeAndDestroyPipeline(pipeline, true);
         } catch (IOException ioe) {
           LOG.error("Could not execute pipeline action={} pipeline={} {}",
               action, pipelineID, ioe);


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