Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 66E84D023 for ; Thu, 19 Jul 2012 21:55:42 +0000 (UTC) Received: (qmail 40049 invoked by uid 500); 19 Jul 2012 21:55:42 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 39992 invoked by uid 500); 19 Jul 2012 21:55:41 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 39983 invoked by uid 99); 19 Jul 2012 21:55:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2012 21:55:41 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of carl@cloudera.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-vc0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2012 21:55:34 +0000 Received: by vcbfl11 with SMTP id fl11so3054811vcb.35 for ; Thu, 19 Jul 2012 14:55:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=g55no0GK0cgeANDFVI9Ut14ywdlcyq4yg/uOnQl6pZE=; b=diycufQCSeT0whGt/Ad12CFWfI7m1r8edJLzBSro2SvV1Cbyb6gViTk+g6+Lo5gw0g 024Ja+lt6P/4oi+ZHOXJlJ4eFU+ZREOmf7AKuV/oqZXGwYSuE6L2yGCdzedGDIZgZcfA CvIHeNh2qhSKlqDlf1JpStukJjuCT/5Czoz00ljsqxy2QVCPLXjwL5yVZ0eETm1Rui9U vS2fRmJGzAa07tKJYNkwZ5bvw5rsVOgWv7RyrFA2P98yyuoIkBAlYeNLlZZ7WzhN0c9C rn2aAqJet5Jhyw9rAJz33uIiUVFLVDuXO/erX51N/9I5OFKMtnIk2CEQgCNSdC0xIlDO ue0g== MIME-Version: 1.0 Received: by 10.52.176.66 with SMTP id cg2mr2061349vdc.121.1342734913120; Thu, 19 Jul 2012 14:55:13 -0700 (PDT) Received: by 10.220.124.133 with HTTP; Thu, 19 Jul 2012 14:55:13 -0700 (PDT) In-Reply-To: References: Date: Thu, 19 Jul 2012 14:55:13 -0700 Message-ID: Subject: Re: Is HiveMetastoreClient a public interface? From: Carl Steinbach To: dev@hive.apache.org, hcatalog-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=20cf307f34ba862b5604c535d581 X-Gm-Message-State: ALoCoQkt6MyBufpBSPFirLBFwijw2WxP/JF+CqMqAzqtc0tTPU1I7zWhV0lBYRSVuAlYI6yhxur1 --20cf307f34ba862b5604c535d581 Content-Type: text/plain; charset=ISO-8859-1 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 --20cf307f34ba862b5604c535d581--