Why does the HBase Thrift API always return a thrift client connection
问题 For every thrift API call ( using HBase Thrift in Erlang )the API returns a thrift connection: erlang example: % creating the initial connection {ok, TFactory} = thrift_socket_transport:new_transport_factory( "localhost", 9090, []), {ok, PFactory} = thrift_binary_protocol:new_protocol_factory(TFactory, []), {ok, Protocol} = PFactory(), {ok, ThiftConnection1} = thrift_client:new(Protocol, hbase_thrift), %calling a row mutation {ThriftConnection2, Result} = thrift_client:call( ThriftConnection1