Have the issue resolved. In this case the hostname of my machine is configured
to a public domain resolved to the EC2 machine's public IP. It's not allowed to
bind to an elastic IP. I changed the hostnames to Amazon's private hostname
(ip-72-xxx-xxx) then it works.
On 24 Oct 2015, at 00:46, Lin Zhao >
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"
better wiki entry https://wiki.apache.org/hadoop/BindException