Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8C2A0200D60 for ; Fri, 1 Dec 2017 17:02:28 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8AD59160C06; Fri, 1 Dec 2017 16:02:28 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CFF37160BFB for ; Fri, 1 Dec 2017 17:02:27 +0100 (CET) Received: (qmail 78860 invoked by uid 500); 1 Dec 2017 16:02:26 -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 78842 invoked by uid 99); 1 Dec 2017 16:02:26 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Dec 2017 16:02:26 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9D7D0C69CF for ; Fri, 1 Dec 2017 16:02:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.079 X-Spam-Level: X-Spam-Status: No, score=0.079 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KB_WAM_FROM_NAME_SINGLEWORD=0.2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 3vq5DjdBav8v for ; Fri, 1 Dec 2017 16:02:24 +0000 (UTC) Received: from mail-pg0-f52.google.com (mail-pg0-f52.google.com [74.125.83.52]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 2D9E55FB87 for ; Fri, 1 Dec 2017 16:02:24 +0000 (UTC) Received: by mail-pg0-f52.google.com with SMTP id q20so4662581pgv.2 for ; Fri, 01 Dec 2017 08:02:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:date:subject:message-id :references:in-reply-to:to; bh=V86/tXktJfRMMbu4kn37Ho4ijCmSk9QKhSpmlFevsyE=; b=ehemg+LtEsKk9i3KQuVrXXRxKIxmbtLmkrHTGXdWcKI55Cf+5CCFAR9u/fsfq6B3ws uXdJJKO1ny42+eM7Ju9Xob93ja1v2YpCKMhRWuw46SHMxXDU++cGSOB4l2zJZcaJ5/4S UmyeoZzFRJQAIagMfFYT2z7ZI7pChbt5JmwF08m58IGCEcMwgBLMjNFWMzvY2e6b382Y 2EO7rPWeKxNI/H9mBTXB9Zq+EvcbHu2DJY8kh5HkwtMoqPiSZmDc4jp6GKPl/XdUbEej mV0xf8HRZqcMWdYraG274Oy3hvQRiytZnqVxKGteqAd5sxIgsSRNvrporpIIWRTYNyoM vC9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version:date :subject:message-id:references:in-reply-to:to; bh=V86/tXktJfRMMbu4kn37Ho4ijCmSk9QKhSpmlFevsyE=; b=RyqGug4dOl/rl8tf9jATBC4ZQn++Yup7Mfw9f7BNUuzhIEwyw8o8FSGUXPQSB1/NOb wHmOv6t5mmmHi9sf9WLMPu2QJcVp+kBfBuYf81KboWyfCWiEnZQvD4GWYSnSVzxbD0nD 0NcKCP1NDoXPTA8cgR0qBoIU0THHZfxNrGn6EtbdA94NSNepH1MCW8A8cqFqF02oG6XH vVqDhBYUWWMCREZBt66340AKOpAFXT3JXNmz/iv4HMBlJEKopX2/z53zwoXz+pmwNpXW o7u2lVtMm5Ohf/y4z6+RvTLP8Ikz2na8r2cR1K6aEOCE8YJ55eVNlGiAhWzXlrrAoDh0 Dbow== X-Gm-Message-State: AJaThX6fw45D/rIMB6OaXyMf+c6MvurFwI072xeHvSzlNq7o5gRhReRK Mmq9n3w3rvaUj0Hxwy3zemMLl0pm X-Google-Smtp-Source: AGs4zMYLsudUNLrj3FOZxMG+t4UnecLzx1hNkVa/owDDpZyIN3bbVpiskd1+knL6uGKwj955AaRvrQ== X-Received: by 10.99.172.88 with SMTP id z24mr6477156pgn.46.1512144137016; Fri, 01 Dec 2017 08:02:17 -0800 (PST) Received: from [10.175.191.42] (mobile-166-137-178-188.mycingular.net. [166.137.178.188]) by smtp.gmail.com with ESMTPSA id p126sm11650462pga.58.2017.12.01.08.02.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Dec 2017 08:02:16 -0800 (PST) From: Alan Gates Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Fri, 1 Dec 2017 08:02:14 -0800 Subject: Re: HMS dependency on fb303.FacebookService Message-Id: <9C0BEA1A-0ED0-4EE3-A077-47C44691EDE6@gmail.com> References: In-Reply-To: To: dev@hive.apache.org X-Mailer: iPhone Mail (14G60) archived-at: Fri, 01 Dec 2017 16:02:28 -0000 Works for me.=20 Alan.=20 Sent from my iPhone > On Nov 28, 2017, at 10:55, Alexander Kolbasov wrote: >=20 > Thanks for the reply Alan! >=20 > The major problem with fb303 is that it is always a pain to deal with it > when you need to generate thrift code for other purposes. For backwards > compatibility we may provide some simple implementation ourselves - does > this sound reasonable? >=20 > Alex >=20 >> On Tue, Nov 28, 2017 at 9:35 AM, Alan Gates wrote:= >>=20 >> Removing this break our backwards compatibility. This interface provides= >> public methods like getName. Hive may not be using them but we have no >> idea if others are in the wild. Given that including this has little or n= o >> cost to us AFAIK, why remove it? >>=20 >> Alan.=E2=80=8B >>=20 >> On Mon, Nov 27, 2017 at 5:21 PM, Alexander Kolbasov >> wrote: >>=20 >>> The hive_metastore.thrift has a dependency on fb303.FacebookService - >> the >>> ThriftHiveMetastore extends it. It looks like the only thing that it is >>> actually using is the shutdown() method. >>>=20 >>> As an experiment I removed the dependency and the call to shutdown() >> method >>> and everything seems to compile just fine (I have not run any actual >> tests >>> yet). >>>=20 >>> Does anyone think that FacebookService provides anything useful or it is= >>> just an lod cruft that should be removed? >>>=20 >>> - Alex >>>=20 >>=20