Hi Edward, We would also need other apis such as dropping partitions and tables as well as retrieving delegation tokens. "Experts only" is doable. The main concern of it being public is wether in future releases, Hive developers will do their best to make sure the interface is backwards compatible.
-Francis On 3/29/12 1:04 PM, "Edward Capriolo" <edlinuxg...@gmail.com> wrote: >Ideally you want to do everything through the hiveQL language. Calling >the read only methods are safe and would be easier/better then Calling >'show tables' and attempting to parse. But I would consider the rest >of the interface for "experts" only. Also this interface can change >slightly between versions making it harder to build code against. > >Edward > >On Thu, Mar 29, 2012 at 2:50 PM, Francis Liu <tof...@apache.org> wrote: >> No reponse from the user list. Reposting in the dev list: >> >> Hi, >> >> It seems like the HiveMetaStoreClient is the only way to >>programmatically >> access (and retreive) the metastore for DDL and metadata queries as >>well as >> retrieving delegation tokens. It isn't documented anywhere, so I'd like >>to >> know if it is advisable to have code make use of this directly or is >>this an >> internal API? If the latter what would be the recommended way of >> programmatically doing the previously mentioned operations? >> >> -Francis >> >>