From dev-return-52100-archive-asf-public=cust-asf.ponee.io@phoenix.apache.org Wed May 30 21:34:04 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 169DC18063B for ; Wed, 30 May 2018 21:34:03 +0200 (CEST) Received: (qmail 33602 invoked by uid 500); 30 May 2018 19:34:03 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 33587 invoked by uid 99); 30 May 2018 19:34:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 May 2018 19:34:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 8DD151A39C9 for ; Wed, 30 May 2018 19:34:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.801 X-Spam-Level: X-Spam-Status: No, score=-109.801 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 1_ilMJ4BaBDo for ; Wed, 30 May 2018 19:34:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 7CC6F5F41B for ; Wed, 30 May 2018 19:34:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id CA143E0D3C for ; Wed, 30 May 2018 19:34:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2987821098 for ; Wed, 30 May 2018 19:34:00 +0000 (UTC) Date: Wed, 30 May 2018 19:34:00 +0000 (UTC) From: "Karan Mehta (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-4752) Phoenix with Procedure v2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PHOENIX-4752?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 495584#comment-16495584 ]=20 Karan Mehta commented on PHOENIX-4752: -------------------------------------- [~jamestaylor] Any thoughts here? > Phoenix with Procedure v2 > ------------------------- > > Key: PHOENIX-4752 > URL: https://issues.apache.org/jira/browse/PHOENIX-4752 > Project: Phoenix > Issue Type: Improvement > Reporter: Karan Mehta > Priority: Major > > [Procedure Framework (Pv2)|https://docs.google.com/document/d/1QLXlVERKt5= EMbx_EL3Y2u0j64FN-_TrVoM5WWxIXh6o/edit#heading=3Dh.df9krsl9k16] framework i= n HBase (available from HBase 1.1 and up) allows users to build multi step = procedures with built in fault tolerance. The framework was originally insp= ired from Fault tolerant executor (FATE) framework from Apache Accumulo. Th= is is essentially achieved by declaring the procedure as a series of idempo= tent execution functions and providing persistence for the result of each e= xecution. In case of failures, the new owner can first determine the in-fli= ght procedures and take on its execution. The framework also allows to buil= d a tree (DAG) of procedures i.e. a procedure can have one or more child pr= ocedures. The next step of procedure will only be executed once all its chi= ld process have successfully completed execution. This can be leveraged by = Apache Phoenix for several of its functions. > I created a doc=C2=A0[Phoenix with Procedurev2|https://docs.google.com/do= cument/d/1vmaK7Yz7TTbzuBHPR09d4LqtfAj6tkPT0-DjS6nQ6QA/edit]=C2=A0to consoli= date some of the use cases. Please provide comments / ideas to improve upon= it. Also comment on the feasibility vs usefulness of doing it. > [~elserj] [~giacomotaylor] [~mbertozzi] > FYI [~apurtell] [~tdsilva] -- This message was sent by Atlassian JIRA (v7.6.3#76005)