-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[STORM-3271] enable supervisors to launch a worker inside a docker container #3287
Conversation
a8b9127
to
1841f58
Compare
1841f58
to
f70036f
Compare
* @return the full command. | ||
*/ | ||
@Override | ||
public String getCommandWithArguments() { |
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.
Do we need to override this method? Looks like the parent DockerCommand.getCommandWithArguments is doing the same thing.
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.
You are right. I will remove this one.
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.
minor documentation comments. Looks good. I confess not to have looked in great detail at all the worker launcher changes.
storm-server/src/main/java/org/apache/storm/utils/ServerUtils.java
Outdated
Show resolved
Hide resolved
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.
Would be nice to get another review.....
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
What is the purpose of the change
With this new functionality, a supervisor can launch a worker process inside a docker container for better security and portability.
How was the change tested