hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Jeltema <>
Subject Re: HCatalog access from a Java app
Date Sat, 21 Jun 2014 14:11:34 GMT
I’m also experimenting with version 0.13, and see that it differs from 0.12 significantly.
Can you give me a code example for 0.13?


On Jun 13, 2014, at 9:25 AM, Brian Jeltema <> wrote:

> Version 0.12.0.
> I’d like to obtain the table’s schema, scan a table partition, and use the schema
to parse the rows.
> I can probably figure this out by looking at the HCatalog source. My concern was that
> the HCatalog packages in the Hive distributions are excluded in the JavaDoc, which implies
> that the API is not public. Is there a reason for this?
> Brian
> On Jun 13, 2014, at 9:10 AM, Dmitry Vasilenko <> wrote:
>> You should be able to access this information. The exact API depends on the version
of Hive/HCat. As you know earlier HCat API is being deprecated and will be removed in Hive
0.14.0. I can provide you with the code sample if you tell me what you are trying to do and
what version of Hive you are using. 
>> On Fri, Jun 13, 2014 at 7:33 AM, Brian Jeltema <>
>> I’m experimenting with HCatalog, and would like to be able to access tables and
their schema
>> from a Java application (not Hive/Pig/MapReduce). However, the API seems to be hidden,
>> leads leads me to believe that this is not a supported use case. Is HCatalog use
limited to
>> one of the supported frameworks?
>> TIA
>> Brian

View raw message