hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Bamford <>
Subject Re: HiveMetaStoreClient
Date Wed, 26 Aug 2015 17:07:48 GMT
Hi Jerrick,

  I'm sure someone more knowledgeable will correct me if I'm wrong, but I believe that class
operates over the thrift api.


From: Jerrick Hoang <>
Sent: Wednesday, August 26, 2015 9:44 AM
Subject: Re: HiveMetaStoreClient

Ok, I'm super confused now. The hive metastore is a RDBMS database. I totally agree that I
shouldn't access it directly via jdbc. So what about using this class
? Is it something that can only be used

If not I can definitely use the thrift api. Just wanted to ask this before going the thrift
route because this class seems like the perfect tool for me,


On Wed, Aug 26, 2015 at 8:33 AM, Alan Gates <<>>
Accessing the RDBMS directly isn't recommended.  We don't view the table layout as part of
the public API and sometimes change things between releases.  With the thrift API we at least
try to keep it backwards compatible.


Dr Mich Talebzadeh<>
August 26, 2015 at 0:07
What is your hive metastore is on?

If it is on an RDBMS, then you can simply use client/JDBC tools to access
the metastore. Pretty simple.


Jerrick Hoang<>
August 25, 2015 at 23:27
Hi all,

I want to interact with HiveMetaStore table from code and was looking at
, was wondering if this is the correct way to do this or should I use a jdbc client. If HiveMetaStoreClient
is the right way then how do I create a client given a hive-site.xml,


View raw message