Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-287

Allow more parameters to be passed to HBase thrift gateway

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Slider 0.50
    • Slider 0.70
    • application/hbase
    • None

    Description

      Here is the usage for thrift:

      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
      

      Currently only port is passed.

      We should accommodate other parameters

      Attachments

        Activity

          People

            tedyu Zhihong Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: