- nohup hbase --config /etc/hbase/conf/ thrift2 -c -f -threadpool -s 72 -w 72 > /var/log/hbase/hbase-thrift2.log 2>&1 &
- Thrift [-b <arg>] [-c] [-f] [-h] [-hsha | -nonblocking | -selector | -threadpool] [--infoport <arg>]  [-p <arg>] [-q <arg>] [-ro] [-s <arg>]  [-t <arg>]  [-w <arg>]
- -b                            要将Thrift服务器绑定到的地址。[默认值:0.0.0.0]
- -c                            使用compact协议
- -f                            使用框架运输
- -hsha                        使用THsHaServer,这意味着帧传输。
- -nonblocking                    使用TNonblockingServer。这意味着帧传输。
- -selector                        使用TThreadedSelectorServer。这意味着帧传输。
- -threadpool                    使用TThreadPoolServer。这是默认设置。
- --infoport <arg>                web UI端口,默认9095。
- -p,--port <arg>                要绑定到的端口,默认9090。
- -q,--callQueueSize <arg>        请求队列的最大大小,默认情况下无边界。
- -ro,--readonly                    仅响应读取方法请求,默认false。
- -s,--selectors                    要使用的选择器线程数。
- -t,--readTimeout <arg>            服务器线程等待客户端在连接的套接字上发送数据超时之前的时间(以毫秒为单位)。当前仅适用于TBoundedThreadPoolServer。
- -w,--workers <arg>            要使用的工作线程数。
- 要启动Thrift server,请运行 'hbase-daemon.sh start thrift2' or 'hbase thrift2’。
- 要关闭Thrift server,请运行 'hbase-daemon.sh stop thrift2' or 向thrift服务器发送终止信号。