From dev-return-26875-archive-asf-public=cust-asf.ponee.io@atlas.apache.org Tue Sep 18 20:14:40 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 3398F180672 for ; Tue, 18 Sep 2018 20:14:40 +0200 (CEST) Received: (qmail 94413 invoked by uid 500); 18 Sep 2018 18:14:39 -0000 Mailing-List: contact dev-help@atlas.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.apache.org Delivered-To: mailing list dev@atlas.apache.org Received: (qmail 94402 invoked by uid 99); 18 Sep 2018 18:14:38 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2018 18:14:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 47E99184519; Tue, 18 Sep 2018 18:14:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.7 X-Spam-Level: X-Spam-Status: No, score=0.7 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id tvhgk41PPHy5; Tue, 18 Sep 2018 18:14:37 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 73F5E5F381; Tue, 18 Sep 2018 18:14:36 +0000 (UTC) Received: from reviews.apache.org (unknown [10.41.0.12]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BFEB0E00E1; Tue, 18 Sep 2018 18:14:35 +0000 (UTC) Received: from reviews-vm2.apache.org (localhost [IPv6:::1]) by reviews.apache.org (ASF Mail Server at reviews-vm2.apache.org) with ESMTP id 90EF8C40220; Tue, 18 Sep 2018 18:14:35 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============7770857391104052091==" MIME-Version: 1.0 Subject: Re: Review Request 68726: ATLAS-2872: updated HiveHook to purge name cache periodically From: Sarath Subramanian To: Apoorv Naik , Nixon Rodrigues , Ashutosh Mestry , Sarath Subramanian Cc: Madhan Neethiraj , atlas Date: Tue, 18 Sep 2018 18:14:35 -0000 Message-ID: <20180918181435.34985.92436@reviews-vm2.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Sarath Subramanian X-ReviewGroup: atlas X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/68726/ X-Sender: Sarath Subramanian X-ReviewBoard-ShipIt: 1 References: <20180915043552.64548.45617@reviews-vm2.apache.org> In-Reply-To: <20180915043552.64548.45617@reviews-vm2.apache.org> X-ReviewBoard-ShipIt-Only: 1 Reply-To: Sarath Subramanian X-ReviewRequest-Repository: atlas --===============7770857391104052091== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/68726/#review208719 ----------------------------------------------------------- Ship it! Ship It! - Sarath Subramanian On Sept. 14, 2018, 9:35 p.m., Madhan Neethiraj wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/68726/ > ----------------------------------------------------------- > > (Updated Sept. 14, 2018, 9:35 p.m.) > > > Review request for atlas, Apoorv Naik, Ashutosh Mestry, Nixon Rodrigues, and Sarath Subramanian. > > > Bugs: ATLAS-2872 > https://issues.apache.org/jira/browse/ATLAS-2872 > > > Repository: atlas > > > Description > ------- > > updated name-cache in Hive hook with options to periodically purge the cache, depending on configuration atlas.hook.hive.name.cache.rebuild.interval.seconds. By default the cache will be rebuilt evey hour. > > > Diffs > ----- > > addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/AtlasHiveHookContext.java c31d94c25 > addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java a0a441009 > > > Diff: https://reviews.apache.org/r/68726/diff/1/ > > > Testing > ------- > > Verified that the cache was rebuilt at specified intervals in Hive hook. > > Pre-commit tests result: https://builds.apache.org/view/A/view/Atlas/job/PreCommit-ATLAS-Build-Test/662/ > > > Thanks, > > Madhan Neethiraj > > --===============7770857391104052091==--