Make namenode rpc and resourcemanager webapp port numbers configurable.#17
Merged
danielcweeks merged 2 commits intoNetflix:masterfrom Jan 18, 2017
Connexity:port_config
Merged
Make namenode rpc and resourcemanager webapp port numbers configurable.#17danielcweeks merged 2 commits intoNetflix:masterfrom Connexity:port_config
danielcweeks merged 2 commits intoNetflix:masterfrom
Connexity:port_config
Conversation
Contributor
Author
|
As suggested here: |
Contributor
|
+1 There is several patches flying around about this functionality, it would be nice to get it in the base repo. For instance, there is also #13 which as more feature (you can configure elasticsearch, namenode and resourcemanager hosts) |
Contributor
|
Yes, this looks good. The old ports were an artifact of EMR's port configurations, but even they have moved away from those and gone with the apache defaults. Do you just want to change the defaults in the settings.py to be the apache defaults? |
Contributor
Author
|
Done. namenode rpc port set to 8020, resourcemanager webapp port set to 8088 by default. |
Contributor
|
Thanks @jackgene ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The namenode RPC port (dfs.namenode.rpc-address....) is currently hardcoded to 9000, and the resourcemanager webapp port (yarn.resourcemanager.webapp.address...) hardcoded to 9032, which isn't typical, and requires users to update the port numbers in the Python scripts.
This update allows the ports to be defined in settings.py.