Discussion:
thrift didn't throw exception when I use a port that is already used by another process
Jeff Zhang
2017-11-08 08:15:06 UTC
Permalink
I use a already used port when constructing TServerSocket, but it didn't
throw exception. Is this a thrift known issue or I misuse the API ? Thanks

serverTransport = new TServerSocket(this.port);
server = new TThreadPoolServer(
new TThreadPoolServer.Args(serverTransport).processor(processor));
Jens Geyer
2017-11-08 18:07:49 UTC
Permalink
Hi,

same quwdtion as in SO: What language?

Sent from mobile device, please ignore spelling mistakes.
________________________________
Von: Jeff Zhang
Gesendet: 08.11.2017 09:32
An: ***@thrift.apache.org
Betreff: thrift didn't throw exception when I use a port that is already used by another process

I use a already used port when constructing TServerSocket, but it didn't
throw exception. Is this a thrift known issue or I misuse the API ? Thanks

serverTransport = new TServerSocket(this.port);
server = new TThreadPoolServer(
new TThreadPoolServer.Args(serverTransport).processor(processor));
Loading...