Why not use hcatalog web service api?

Le mer. 26 août 2015 à 18:44, Jerrick Hoang <jerrickho...@gmail.com> a
écrit :

> 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
> http://hive.apache.org/javadocs/r0.13.1/api/metastore/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.html
> ? 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,
>
> Thanks
>
> On Wed, Aug 26, 2015 at 8:33 AM, Alan Gates <alanfga...@gmail.com> wrote:
>
>> 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.
>>
>> Alan.
>>
>> Dr Mich Talebzadeh <m...@peridale.co.uk>
>> 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.
>>
>> HTH,
>>
>> Jerrick Hoang <jerrickho...@gmail.com>
>> August 25, 2015 at 23:27
>> Hi all,
>>
>> I want to interact with HiveMetaStore table from code and was looking at
>> http://hive.apache.org/javadocs/r0.13.1/api/metastore/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.html
>> , 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,
>>
>> Thanks,
>> J
>>
>>
>

Reply via email to