You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Prakash Kadel <pr...@gmail.com> on 2011/12/19 13:48:18 UTC
exiting tnonblockingserver
hello,
i have a question
how can i exit the server loop using a thrift api call,
i am thinking of exiting thrift server using a api call to the server instead of running a script to kill the server instance, is it a good aproach?
thanks
Sincerely,
Prakash Kadel
Re: exiting tnonblockingserver
Posted by Prakash Kadel <pr...@gmail.com>.
thanks for the reply,, i am still confused about how to use it,, could you please give me some directions?
thanks
Sincerely,
Prakash Kadel
On Dec 19, 2011, at 11:26 PM, Jonathan Ellis <jb...@gmail.com> wrote:
> You want TServer.stop.
>
> It's not either/or vs an external script; they are both useful.
>
> On Mon, Dec 19, 2011 at 6:48 AM, Prakash Kadel <pr...@gmail.com> wrote:
>> hello,
>> i have a question
>> how can i exit the server loop using a thrift api call,
>> i am thinking of exiting thrift server using a api call to the server instead of running a script to kill the server instance, is it a good aproach?
>> thanks
>>
>> Sincerely,
>> Prakash Kadel
>
>
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com
Re: exiting tnonblockingserver
Posted by Jonathan Ellis <jb...@gmail.com>.
You want TServer.stop.
It's not either/or vs an external script; they are both useful.
On Mon, Dec 19, 2011 at 6:48 AM, Prakash Kadel <pr...@gmail.com> wrote:
> hello,
> i have a question
> how can i exit the server loop using a thrift api call,
> i am thinking of exiting thrift server using a api call to the server instead of running a script to kill the server instance, is it a good aproach?
> thanks
>
> Sincerely,
> Prakash Kadel
--
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com