Skip to content
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

Closes #29. Support specifying node labels for the DataNode and NameNode containers. #33

Merged
merged 2 commits into from
May 3, 2018

Conversation

xkrogen
Copy link
Collaborator

@xkrogen xkrogen commented Apr 13, 2018

No description provided.

@@ -328,7 +328,7 @@ public Boolean get() {
amOptions.getDataNodeVirtualCores() + " vcores, ");
for (int i = 0; i < numTotalDataNodeContainers; ++i) {
ContainerRequest datanodeAsk = setupContainerAskForRM(amOptions.getDataNodeMemoryMB(),
amOptions.getDataNodeVirtualCores(), 1);
amOptions.getDataNodeVirtualCores(), 1, amOptions.getDataNodeNodeLabelExpression());
Copy link
Member

Choose a reason for hiding this comment

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

what's the behavior if this is empty ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The default is "", so it uses the default (unlabeled) node label.

@xkrogen xkrogen merged commit b1bd1cd into linkedin:master May 3, 2018
@xkrogen xkrogen deleted the ekrogen-nodelabel-support branch May 3, 2018 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants