-Re: Is HiveMetastoreClient threadsafe?
Edward Capriolo 2012-07-31, 04:06
>From my understand thrift clients are never thread safe as they
manipulate the underlying protocol. This is true with Cassandra's
thrift client for sure.
On Mon, Jul 30, 2012 at 2:25 PM, Francis Liu <[EMAIL PROTECTED]> wrote:
> We are trying to implement caching of HiveMetastoreClient in HCatalog. And
> we were wondering if HiveMetastoreClient is threadsafe? Looking at the code
> it's a relatively thin wrapper around the thrift client. So it looks like
> it all depends on wether a thrift client is meant to be threadsafe or not?
> Which I don't know the answer to either. If a Hive or Thrift guru could shed
> some light on this that'd be great.