[Swift-devel] Patch: Local service port option (was Re: [Swift-user] coaster-service local service port)
Mihael Hategan
hategan at mcs.anl.gov
Fri Oct 8 23:11:51 CDT 2010
Let me (and possibly others) get this straight:
- the persistent service has two ports:
1. the port to which a client connects to
2. the port to which the workers connect to
- there is a command line option for specifying (1)
- you need a command line option for specifying (2)
Right?
On Fri, 2010-10-08 at 16:48 -0500, Allan Espinosa wrote:
> Descrition: Adds "-localport <localport>" option to bin/coaster-service.
>
> Patch found in http://www.ci.uchicago.edu/~aespinosa/patches/cogkit-coaster_local_port.patch
>
> Enjoy!
> -Allan
>
>
> On Fri, Oct 08, 2010 at 04:41:57PM -0500, Allan Espinosa wrote:
> > Thanks Mike.
> >
> > Poking at CoasterPersistentService.java, it looks like the port 50000+ for the
> > local service is automatically set by the provider. I'm coding up a patch to
> > add the option.
> >
> > Hopefully this won't break things :)
> >
> > -Allan
> >
> > On Fri, Oct 08, 2010 at 03:30:39PM -0600, Michael Wilde wrote:
> > > Allan, the only help I know of for the command is:
> > >
> > > com$ coaster-service -help
> > > Usage:
> > > coaster-service <options>
> > >
> > > where options are:
> > >
> > > [(-port | -p) <port>]
> > > Specifies which port to start the service on
> > >
> > > [-nosec]
> > > Disables GSI security and uses plain TCP sockets instead
> > >
> > > [-proxy <file>]
> > > Specifies the location of a proxy credential that will be used
> > > for authentication. If not specified, the default proxy will be
> > > used.
> > >
> > > [-local]
> > > Binds the service to the loopback interface
> > >
> > > [(-help | -h)]
> > > Displays usage information
> > >
> > >
> > > Mike
> >
More information about the Swift-devel
mailing list