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 3800A200B66 for ; Thu, 18 Aug 2016 17:15:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 368AE160AAE; Thu, 18 Aug 2016 15:15:04 +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 7A55B160A86 for ; Thu, 18 Aug 2016 17:15:03 +0200 (CEST) Received: (qmail 84957 invoked by uid 500); 18 Aug 2016 15:15:02 -0000 Mailing-List: contact notifications-help@asterixdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.apache.org Delivered-To: mailing list notifications@asterixdb.apache.org Received: (qmail 84948 invoked by uid 99); 18 Aug 2016 15:15:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2016 15:15:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 33F7FC041B for ; Thu, 18 Aug 2016 15:15:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.126 X-Spam-Level: ** X-Spam-Status: No, score=2.126 tagged_above=-999 required=6.31 tests=[MISSING_HEADERS=1.207, SPF_FAIL=0.919] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id BCag16Axi1jS for ; Thu, 18 Aug 2016 15:14:58 +0000 (UTC) Received: from unhygienix.ics.uci.edu (unhygienix.ics.uci.edu [128.195.14.130]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTP id 2A2D95F3F5 for ; Thu, 18 Aug 2016 15:14:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by unhygienix.ics.uci.edu (Postfix) with ESMTP id DB20524206E; Thu, 18 Aug 2016 08:14:57 -0700 (PDT) Date: Thu, 18 Aug 2016 08:14:57 -0700 From: "Till Westmann (Code Review)" CC: Jenkins , abdullah alamoudi , Michael Blow , Yingyi Bu Reply-To: tillw@apache.org X-Gerrit-MessageType: merged Subject: Change in asterixdb[master]: add AsterixHyracksIntegrationUtil.run X-Gerrit-Change-Id: I4d71e93a4c67ec18aa402adf4d6948618a177a68 X-Gerrit-ChangeURL: X-Gerrit-Commit: b90fe7a369e42f2fa55b593ab8469fab8faff32d In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.8.4 Message-Id: <20160818151457.DB20524206E@unhygienix.ics.uci.edu> archived-at: Thu, 18 Aug 2016 15:15:04 -0000 Till Westmann has submitted this change and it was merged. Change subject: add AsterixHyracksIntegrationUtil.run ...................................................................... add AsterixHyracksIntegrationUtil.run Change-Id: I4d71e93a4c67ec18aa402adf4d6948618a177a68 Reviewed-on: https://asterix-gerrit.ics.uci.edu/1087 Tested-by: Jenkins Integration-Tests: Jenkins Reviewed-by: Yingyi Bu --- M asterixdb/asterix-app/src/main/java/org/apache/asterix/api/common/AsterixHyracksIntegrationUtil.java 1 file changed, 4 insertions(+), 0 deletions(-) Approvals: Yingyi Bu: Looks good to me, approved Jenkins: Verified; Verified Objections: Jenkins: Violations found diff --git a/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/common/AsterixHyracksIntegrationUtil.java b/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/common/AsterixHyracksIntegrationUtil.java index 3dbc310..4b00195 100644 --- a/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/common/AsterixHyracksIntegrationUtil.java +++ b/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/common/AsterixHyracksIntegrationUtil.java @@ -214,6 +214,10 @@ */ public static void main(String[] args) { AsterixHyracksIntegrationUtil integrationUtil = new AsterixHyracksIntegrationUtil(); + run(integrationUtil); + } + + protected static void run(final AsterixHyracksIntegrationUtil integrationUtil) { Runtime.getRuntime().addShutdownHook(new Thread() { @Override public void run() { -- To view, visit https://asterix-gerrit.ics.uci.edu/1087 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: merged Gerrit-Change-Id: I4d71e93a4c67ec18aa402adf4d6948618a177a68 Gerrit-PatchSet: 4 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Till Westmann Gerrit-Reviewer: Jenkins Gerrit-Reviewer: Michael Blow Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: Yingyi Bu Gerrit-Reviewer: abdullah alamoudi