Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # dev >> Re: Is HiveMetastoreClient threadsafe?


Copy link to this message
-
Re: Is HiveMetastoreClient threadsafe?
>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:
>
> Hi,
>
> 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.
>
> -Francis
>
>
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB