-
Notifications
You must be signed in to change notification settings - Fork 594
HDDS-5246. Wait for ever to obtain CA list which is needed during OM/DN startup #2266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
bshashikant
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
adoroszlai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I'd like to suggest some some trivial code improvements.
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/HAUtils.java
Outdated
Show resolved
Hide resolved
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/HAUtils.java
Outdated
Show resolved
Hide resolved
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/HAUtils.java
Outdated
Show resolved
Hide resolved
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/HAUtils.java
Outdated
Show resolved
Hide resolved
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/HAUtils.java
Outdated
Show resolved
Hide resolved
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/HAUtils.java
Outdated
Show resolved
Hide resolved
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/HAUtils.java
Outdated
Show resolved
Hide resolved
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/HAUtils.java
Outdated
Show resolved
Hide resolved
…ls/HAUtils.java Co-authored-by: Doroszlai, Attila <6454655+adoroszlai@users.noreply.github.com>
…ls/HAUtils.java Co-authored-by: Doroszlai, Attila <6454655+adoroszlai@users.noreply.github.com>
…ls/HAUtils.java Co-authored-by: Doroszlai, Attila <6454655+adoroszlai@users.noreply.github.com>
…ls/HAUtils.java Co-authored-by: Doroszlai, Attila <6454655+adoroszlai@users.noreply.github.com>
Co-authored-by: Doroszlai, Attila <6454655+adoroszlai@users.noreply.github.com>
…ls/HAUtils.java Co-authored-by: Doroszlai, Attila <6454655+adoroszlai@users.noreply.github.com>
…ls/HAUtils.java Co-authored-by: Doroszlai, Attila <6454655+adoroszlai@users.noreply.github.com>
|
Thank You @adoroszlai for the thorough review. |
adoroszlai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @bharatviswa504 for updating the patch.
|
|
||
|
|
||
| <property> | ||
| <name>ozone.scm.ca.list.retry.wait.duration</name> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT: Can we rename ozone.scm.ca.list.retry.wait.duration to ozone.scm.ca.list.retry.interval to be consistent with other retry settings?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
xiaoyuyao
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I just have one minor suggestion added inline...
xiaoyuyao
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 pending CI.
…DN startup (apache#2266) (cherry picked from commit 08375d7) Change-Id: I2aa46fc70ec37059946da1c69806bc09bbf4f0ae
What changes were proposed in this pull request?
Wait forever to obtain the CA list.
And also made retry wait configurable.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5246
How was this patch tested?
Tested with docker-compose ozonesecure-ha (with few changes to remove WAITFOR scm3.org)