You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Nan Zhu <zh...@gmail.com> on 2014/01/05 14:45:38 UTC
how to bind spark-master to the public IP of EC2
Hi, all
How to bind spark-master to the public IP of EC2?
I tried to set spark-env.sh, but it failed
Thank you
Best,
--
Nan Zhu
Re: how to bind spark-master to the public IP of EC2
Posted by Nan Zhu <zh...@gmail.com>.
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 <zhunanmcgill@gmail.com (mailto:zhunanmcgill@gmail.com)> 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
Re: how to bind spark-master to the public IP of EC2
Posted by Prashant Sharma <sc...@gmail.com>.
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 <zh...@gmail.com> wrote:
> Hi, all
>
> How to bind spark-master to the public IP of EC2?
>
> I tried to set spark-env.sh, but it failed
>
> Thank you
>
> Best,
>
> --
> Nan Zhu
>
--
Prashant