Yes, I did that, it runs well when I bind to a private IP on EC2, but I cannot 
bind to the public IP

I checked with the EC2 docs, it seems that the public IP is not something 
binded with a NIC device of your instance, but a stuff got from NAT

so the program cannot create socket on it

Best, 

-- 
Nan Zhu


On Sunday, January 5, 2014 at 11:10 AM, Prashant Sharma wrote:

> Are you sure you did what is said here ? 
> http://spark.incubator.apache.org/docs/latest/spark-standalone.html in case 
> yes, please more details which env you have set ?
> 
> 
> On Sun, Jan 5, 2014 at 7:15 PM, Nan Zhu <[email protected] 
> (mailto:[email protected])> wrote:
> > Hi, all 
> > 
> > How to bind spark-master to the public IP of EC2?
> > 
> > I tried to set spark-env.sh (http://spark-env.sh), but it failed
> > 
> > Thank you 
> > 
> > Best, 
> > 
> > -- 
> > Nan Zhu
> > 
> > 
> 
> 
> 
> 
> 
> -- 
> Prashant 

Reply via email to