Created 03-22-2016 05:49 PM
Hi all,
I have been trying to get this working in the past few days and tried almost everything I can but with no success.
My laptop is a Surface Pro 3 on Windows 10. I am using WMware Player 12 to run the Cloudera QuickStart 5.5 as a single node virtual machine. In the Network Adapter settings of the VM player, I tried both Brigded, NAT and Custom. I even used vmnetcfg.exe to add vmnet0.
My issue is the IP addresses of both the Manager Node and Worker Node 1 are 127.0.0.1 instead of the assigned IP address. ifconfig and running socket.gethostby name revealed the following,
[cloudera@quickstart ~]$ ifconfig
eth1 Link encap:Ethernet HWaddr 00:0C:29:AA:BC:4B
inet addr:192.168.1.123 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:379 errors:0 dropped:0 overruns:0 frame:0
TX packets:391 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:174070 (169.9 KiB) TX bytes:50633 (49.4 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:33255 errors:0 dropped:0 overruns:0 frame:0
TX packets:33255 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:115884356 (110.5 MiB) TX bytes:115884356 (110.5 MiB)
[cloudera@quickstart ~]$ python -c "import socket; print socket.getfqdn(); print socket.gethostbyname(socket.getfqdn())"
quickstart.cloudera
127.0.0.1
If I run the quickstart image in Virtual Box, I have no issues and the IP addresses are correctly assigned. I prefer VMware because Virtual Box seemed to hangs alot when running the vm.
I am at my wits end and being a noob made figuring this out more difficult. Please help!
Thank you in advance,
Will
Created 03-23-2016 03:54 PM
Created 03-23-2016 07:51 AM
Created 03-23-2016 03:35 PM
Hi Sean,
Thank you for your guidance.
I changed DEV='eth1' in /usr/bin/cloudera-quickstart-ip but am still getting 127.0.0.1 after reboot.
You mentioned modifying the ip variables in /etc/init.d/cloudera-quickstart-init. Example if the assigned IP is 192.168.1.125, what do I need to amend in lines 39 to 42?
cloudera-quickstart-ip
HOSTNAME=quickstart.cloudera
hostname ${HOSTNAME}
sed -i -e "s/HOSTNAME=.*/HOSTNAME=${HOSTNAME}/" /etc/sysconfig/network
Thanks,
Will
Created 03-23-2016 03:54 PM
Created 03-23-2016 04:47 PM
Heya Sean,
You are a champ! It works now and please see details below,
[cloudera@quickstart ~]$ ifconfig
eth1 Link encap:Ethernet HWaddr 00:0C:29:AA:BC:4B
inet addr:192.168.1.125 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:220 errors:0 dropped:0 overruns:0 frame:0
TX packets:220 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:156228 (152.5 KiB) TX bytes:31127 (30.3 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:6085 errors:0 dropped:0 overruns:0 frame:0
TX packets:6085 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:28645729 (27.3 MiB) TX bytes:28645729 (27.3 MiB)
[cloudera@quickstart ~]$ python -c "import socket; print socket.getfqdn(); print socket.gethostbyname(socket.getfqdn())"
quickstart.cloudera
192.168.1.125
[cloudera@quickstart ~]$ quickstart.cloudera
What I do not understand is why it works automatically in Virtualbox and not VMware?
Thanks for your help again and looking forward to the next release with the VMware one fixed.
Cheers,
Will
Created 03-24-2016 01:26 PM