You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/08/05 19:38:12 UTC

[jira] [Created] (SLIDER-287) Allow more parameters to be passed to thrift gateway

Ted Yu created SLIDER-287:
-----------------------------

             Summary: Allow more parameters to be passed to thrift gateway
                 Key: SLIDER-287
                 URL: https://issues.apache.org/jira/browse/SLIDER-287
             Project: Slider
          Issue Type: Task
            Reporter: Ted Yu


Here is the usage for thrift:
{code}
usage: Thrift [-b <arg>] [-c] [-f] [-h] [-hsha | -nonblocking |
       -threadedselector | -threadpool] [--infoport <arg>] [-k <arg>] [-m
       <arg>]  [-p <arg>] [-q <arg>]   [-w <arg>]
 -b,--bind <arg>           Address to bind the Thrift server to. Not
                           supported by the Nonblocking and HsHa server
                           [default: 0.0.0.0]
 -c,--compact              Use the compact protocol
 -f,--framed               Use framed transport
 -h,--help                 Print help information
 -hsha                     Use the THsHaServer This implies the framed
                           transport.
    --infoport <arg>       Port for web UI
 -k,--keepAliveSec <arg>   The amount of time in secods to keep a thread
                           alive when idle in TBoundedThreadPoolServer
 -m,--minWorkers <arg>     The minimum number of worker threads for
                           TBoundedThreadPoolServer
 -nonblocking              Use the TNonblockingServer This implies the
                           framed transport.
 -p,--port <arg>           Port to bind to [default: 9090]
 -q,--queue <arg>          The maximum number of queued requests in
                           TBoundedThreadPoolServer
 -threadedselector         Use the TThreadedSelectorServer This implies
                           the framed transport.
 -threadpool               Use the TBoundedThreadPoolServerThis is the
                           default.
 -w,--workers <arg>        The maximum number of worker threads for
                           TBoundedThreadPoolServer
{code}
Currently only port is passed.

We should accommodate other parameters



--
This message was sent by Atlassian JIRA
(v6.2#6252)