Skip to content

Conversation

@nandakumar131
Copy link
Contributor

PR #620 brings in new ReplicationManager and PR #662 plugs in the new code, this is for removing the old ReplicationManager and related code.

@hadoop-yetus

This comment has been minimized.

@nandakumar131
Copy link
Contributor Author

/retest

1 similar comment
@nandakumar131
Copy link
Contributor Author

/retest

Copy link
Contributor

@mukul1987 mukul1987 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes generally looks good to me. Some minor comments.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DeleteBlock handler is the only user of CommandWatcher now ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, no other command uses CommandWatcher anymore.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should closeContainer happen before destroy pipeline, so that we close container cleanly ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TLDR; destoryPipelines internally calls close container already.

There are three stages where we close the containers when a datanode goes dead

  1. When the node is marked as stale, we destroy the pipeline which will try to close the containers cleanly.
    (Finalizing and destroying the pipeline after the timeout)

-> When the node is marked as dead
2. destroyPipelines(datanodeDetails) --> call
Here we destroy the pipeline which will also try to close the containers, here we don't try to close the container cleanly. This is a fallback mechanism, if everything was working fine we should not have any pipelines at this point.
(Finalizing and destroying the pipeline without timeout)

  1. closeContainers(datanodeDetails, publisher) --> call
    This is the last resort for closing a container, it is to handle a weird case where there is open container and it is not part of any pipeline. [This can (or) should not happen]

@nandakumar131 nandakumar131 reopened this Apr 17, 2019
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 28 Docker mode activated.
_ Prechecks _
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 7 new or modified test files.
_ trunk Compile Tests _
0 mvndep 12 Maven dependency ordering for branch
+1 mvninstall 1107 trunk passed
+1 compile 80 trunk passed
+1 checkstyle 27 trunk passed
+1 mvnsite 67 trunk passed
+1 shadedclient 737 branch has no errors when building and testing our client artifacts.
+1 findbugs 82 trunk passed
+1 javadoc 43 trunk passed
_ Patch Compile Tests _
0 mvndep 10 Maven dependency ordering for patch
+1 mvninstall 67 the patch passed
+1 compile 71 the patch passed
+1 javac 71 the patch passed
+1 checkstyle 25 the patch passed
+1 mvnsite 57 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 732 patch has no errors when building and testing our client artifacts.
+1 findbugs 107 the patch passed
+1 javadoc 41 the patch passed
_ Other Tests _
+1 unit 62 container-service in the patch passed.
-1 unit 94 server-scm in the patch failed.
+1 asflicense 25 The patch does not generate ASF License warnings.
3521
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-711/3/artifact/out/Dockerfile
GITHUB PR #711
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux b380ee798fef 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / d608be6
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
findbugs v3.1.0-RC1
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-711/3/artifact/out/patch-unit-hadoop-hdds_server-scm.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-711/3/testReport/
Max. process+thread count 464 (vs. ulimit of 5500)
modules C: hadoop-hdds/container-service hadoop-hdds/server-scm U: hadoop-hdds
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-711/3/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@nandakumar131
Copy link
Contributor Author

/retest

2k0ri and others added 16 commits April 23, 2019 16:52
…acOS. Contributed by Siyao Meng.

Signed-off-by: Wei-Chiu Chuang <[email protected]>
…correct units when the default value is used. Contributed by starphin.
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 0 Docker mode activated.
-1 patch 7 #711 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.
Subsystem Report/Notes
GITHUB PR #711
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-711/4/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@nandakumar131 nandakumar131 deleted the HDDS-1368 branch April 23, 2019 12:07
shanthoosh pushed a commit to shanthoosh/hadoop that referenced this pull request Oct 15, 2019
Author: Jagadish <[email protected]>

Reviewers: Jagadish<[email protected]>

Closes apache#711 from vjagadish1989/website-reorg8
susheelgupta7 pushed a commit to susheel-gupta/hadoop that referenced this pull request Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.