hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Steinbach <c...@cloudera.com>
Subject Re: Is HiveMetastoreClient a public interface?
Date Thu, 19 Jul 2012 21:55:13 GMT
Sorry for the delay in responding.


> The java API is an ask from one of our users for Hcatalog. Given that
> HiveMetaStoreClient is a thin wrapper around public apis, then change
> shouldn't be drastic? It seems the cleaner way to go about it is to create
> an hcat client wrapper around HiveMetaStoreClient and have HCatClient as
> public?
>

The problem with this proposal is that until HiveMetaStoreClient is a
public API, HCatalog has just as little right to integrate with it directly
as any other third-party. I think the best solution is to invest the time
required to make HiveMetaStoreClient a public API, or to wrap
HiveMetaStoreClient with HiveMetaStoreClient2 and make that a public API
(we'll probably need to take the latter approach since HiveMetastoreClient
currently exposes raw Thrift types).

I filed HIVE-3280 to track this task.

Thanks.

Carl

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message