On 24 Oct 2015, at 00:46, Lin Zhao <l...@exabeam.com<mailto:l...@exabeam.com>> wrote:
I have a spark on YARN deployed using Cloudera Manager 5.4. The installation went smoothly. But when I try to run spark-shell I get a long list of exceptions saying "failed to bind to: /public_ip_of_host:0" and "Service 'sparkDriver' could not bind on port 0. Attempting port 1.". Any idea why spark-shell tries to bind to port 0 and 1? And it doesn't seem right to trying to bind to the public ip of the host. I tried "nc -l" on the host and it won't work. "0" means any free port. If a service cannot bind to port 0, you are in trouble, Usually with the IP address being wrong https://wiki.apache.org/hadoop/UnsetHostnameOrPort