Skip to content

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

Merged
xkrogen merged 2 commits into
linkedin:masterfrom
xkrogen:ekrogen-nodelabel-support
May 3, 2018
Merged

Closes #29. Support specifying node labels for the DataNode and NameNode containers.#33
xkrogen merged 2 commits into
linkedin:masterfrom
xkrogen:ekrogen-nodelabel-support

Conversation

@xkrogen

@xkrogen xkrogen commented Apr 13, 2018

Copy link
Copy Markdown
Collaborator

No description provided.

for (int i = 0; i < numTotalDataNodeContainers; ++i) {
ContainerRequest datanodeAsk = setupContainerAskForRM(amOptions.getDataNodeMemoryMB(),
amOptions.getDataNodeVirtualCores(), 1);
amOptions.getDataNodeVirtualCores(), 1, amOptions.getDataNodeNodeLabelExpression());

Copy link
Copy Markdown

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
Copy Markdown
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 force-pushed the ekrogen-nodelabel-support branch from bc41716 to 2e6f08a Compare April 24, 2018 22:38
@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.

2 participants