reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yingda Chen <>
Subject Re: Question about Reef-webserver
Date Wed, 08 Oct 2014 14:15:09 GMT
We had similar discussions before, and for most usage cases, we depend on
YARN to do the http traffic forwarding, which will automatically find the
port used by Reef (AM) http server.

I agree that allowing user to set port can provide more flexibility, but
with flexibility also comes some uncertainty - since we cannot guarantee
that the port specified by the user can be used, as another application may
already be using that. In fact, on a multi-tenant cluster where multiple
Reef applications are running, port-collision is inevitable. I guess we can
still do it and make it clear to the user that REEF can only bind the port
on a best-effort basis. I am open to that discussion :)


On Wed, Oct 8, 2014 at 3:21 AM, Yunseong Lee <> wrote:

> Hi, I am building an application using Reef-webserver and I have a
> question.
> Is there a way to set a port number other than the default value(8080)?
> As far as I have found, HttpServer does not have a method to set the port
> number.
> I found some tests binding PortNumber via Configuration, but since
> PortNumber is not a public class
> it is not available outside the package.
> In my opinion, it is reasonable to allow user to set the port number.
> When another application reserved 8080 port, I found the app and
> reef-webserver both go wrong.
> Any thoughts?
> Thank you.
> - Yunseong

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message