Created
December 21, 2012 19:28
-
-
Save enricopulatzo/4355169 to your computer and use it in GitHub Desktop.
Given a VM in VirtualBox named "Hadoop", we'll set up some named TCP forwards that are relevant.
Note, I am adding a "5" to the all hadoop apps and hue ports, for consistency.
This file contains 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
VBoxManage modifyvm "Hadoop" --natpf1 "namenode,tcp,,50070,,50070" | |
VBoxManage modifyvm "Hadoop" --natpf1 "datanodes,tcp,,50075,,50075" | |
VBoxManage modifyvm "Hadoop" --natpf1 "jobtracker,tcp,,50030,,50030" | |
VBoxManage modifyvm "Hadoop" --natpf1 "tasktracker,tcp,,50060,,50060" | |
VBoxManage modifyvm "Hadoop" --natpf1 "hbase,tcp,,60010,,60010" | |
VBoxManage modifyvm "Hadoop" --natpf1 "allapps,tcp,,58088,,8088" | |
VBoxManage modifyvm "Hadoop" --natpf1 "hue,tcp,,58888,,8888" |
Also, one will need the VM powered off (not in a save state) to update the forwards.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One can delete these named maps via the following command:
VBoxManage modifyvm "Hadoop" --natpf1 delete "namenode"
this will delete the first mapping, called "namenode"