|
Hello I realize this may be something simple but I'm at a dead end on Google and the forums. We have a simple mapr setup deployed on Ubuntu server 10.4 LTS. At the initial configuration everything went well. I was able to execute all steps in the config document. However after loading data and submitting jobs we've found that the task tracker wasn't starting. Upon trying to reconfigure I am getting this error:
I can ping all hosts, both via name and ip, I can resolve forwards and backwards (name => ip ip => name) and this error only occurs on nodes that have the mapr-zookeeper packages installed. All other nodes configure fine, I've tried this with zookeeper running and not running. Any insight into what may be causing this?
|
|
I don't think you provided output from "gethostip -d maprN", or if the first output is the one from that command then for some reason it shows local ip: 127.0.0.1 for the node you are currently on. When you used IPs it figured out your node, but when you were giving names - they did not match (case sensitivity as you can see: MAPRN versus maprN) The first output is from the gethost ip command, executed on each node. I'm not sure why it worked today but I assure you the command gave me the same error yesterday with both name and IP. While I am glad that it is now working, I'm a little puzzled as to why it "just worked" nothing in the logs really lead me to believe that anything changed in the way I entered the command. I noted your post about 127.x.x.x in another thread. How would I get around this as it's a basic part of linux networking? Always use IP's? I prefer to use names so I can change things around on the back end of things without having to recode scripts.
(16 Sep '11, 11:33)
tskyers
You can surely use names - just make sure you use names that match either to "cat /opt/mapr/hostname" or resolvable to non-local IP. Also double check your /etc/hosts - it may have entries for all the hosts except the current one. I feel that you run "gethostip -d MAPR3.lab.net" you get your global IP and not 127.0.0.1 for mapr3 (same for others)
(16 Sep '11, 11:46)
yufeldman ♦♦
Thank you for your quick and helpful responses!
(17 Sep '11, 06:36)
tskyers
|
|
Could you please check following:
On a particular node
Please let us know |
|
I've run the commands here is the output from each. I've included a non ZK node (mapr4) as a control.
hostname -fqdn
cat /opt/mapr/hostname
I've tried to do the configure.sh via ip as well (and for strange and unimaginable reason it worked today!!)
Very very interesting. I'm curious as to the problem ... is it the 127.x.x.x? |