Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 398B41180D for ; Fri, 8 Aug 2014 07:10:24 +0000 (UTC) Received: (qmail 26012 invoked by uid 500); 8 Aug 2014 07:10:24 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 25974 invoked by uid 500); 8 Aug 2014 07:10:24 -0000 Mailing-List: contact dev-help@falcon.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.incubator.apache.org Delivered-To: mailing list dev@falcon.incubator.apache.org Received: (qmail 25962 invoked by uid 99); 8 Aug 2014 07:10:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2014 07:10:23 +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 satish.mittal@inmobi.com designates 209.85.213.182 as permitted sender) Received: from [209.85.213.182] (HELO mail-ig0-f182.google.com) (209.85.213.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2014 07:10:21 +0000 Received: by mail-ig0-f182.google.com with SMTP id c1so592197igq.15 for ; Fri, 08 Aug 2014 00:09:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inmobi.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=1nVWeScYm1fxaCI/ThryitiFv9bYwJyJzAHgmyNYHUI=; b=Rm2RE4mdkG2PW6uvww//mrJS+IJ9mDkB4NEG7LzL051/QmqGIBIOu8p7or6zvsGzrg AEJyqC+zmIlyYn9VrVqu8Ke1ozV/KLzopJF9m6ftjPS4HqOPVzrz1g7HZD1ugd+x7XOT ERm+MvHyjqV/mjdlKJqAkt4Lh4GajK/t4EeoU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=1nVWeScYm1fxaCI/ThryitiFv9bYwJyJzAHgmyNYHUI=; b=JRrUdwB5qf5tPUnB0t9bNxyGzt+T//l0tVN6rZ/pPoEKVcfOlkcbMKXVexExuVvI1k QdZW6mKbdEQRau/xJQLBBS8UJd00Axy/RbwGeJZJplmX44LeCzhPvNDsMvfG3xifnzF2 FYuDtc50ptuTwII30NvEeUCXL/7QPazrsgtPGDApTm68Mf8td+eZ9fc1wQhVvKCcJlsk 1NGjy6l9THDiP2DVrarke4bdIZDap3DqXJrTUTKIwux7JMHTAKXinPLq8kwRkNAt3YRn uIAWXPKNA2hdkj2X5yoBJ3OPrdd+oifFG5YAwPWhJY+4w/jKmaYlQNb6thF+HmKa7ir/ W8IQ== X-Gm-Message-State: ALoCoQkKtQIib2bsJHvuH01Kxx0R2dwqxCZQPlyYWamz1w1YcqHk+gJU82iry+eoGXvkEGtS4Cq1jaKoFw0YHGcEy10tH0j9KahkoqzMaURTKRKKeYXbHhc= MIME-Version: 1.0 X-Received: by 10.50.1.17 with SMTP id 17mr2419975igi.3.1407481794668; Fri, 08 Aug 2014 00:09:54 -0700 (PDT) Received: by 10.107.132.193 with HTTP; Fri, 8 Aug 2014 00:09:54 -0700 (PDT) In-Reply-To: References: Date: Fri, 8 Aug 2014 12:39:54 +0530 Message-ID: Subject: Re: [DISCUSS] Recipes in Falcon From: Satish Mittal To: dev@falcon.incubator.apache.org Content-Type: multipart/alternative; boundary=e89a8f838ac5665395050018e41c X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f838ac5665395050018e41c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable +1. It is a nice way to roll out pre-canned ETL queries targeting a particular use-case. This feature will be augmented once pipeline designer is available. Recipes can be thought of as a DAG around some basic building blocks (e.g. replication (HDFS-HDFS/HDFS-Hive/Hive-Hive), retention, data anonymization/pseudonymization for test data generation etc). Falcon framework can maintain the common recipes and document their contract. We could have a recipe repository that is pluggable, wherein user can submit their recipes with its jars. This also allows user to create high-level recipes using available ones. On Fri, Aug 8, 2014 at 12:32 PM, Shwetha GS wrote: > +1 for the feature > > 1. Is creation of recipe in user space or would that need to be bundled i= n > falcon as part of distribution ? How do users provide support artifacts f= or > the recipe > We can have some in-built recipes, but we should also support recipes at > user space > > 2. How do users track execution of instances of a particular recipe. Am > assuming you can create multiple instances of a single recipe > We can let the user specify process name > > > > On Fri, Aug 8, 2014 at 10:55 AM, Srikanth Sundarrajan > > wrote: > > > +1 for the capability. > > > > Some clarifications. > > > > 1. Is creation of recipe in user space or would that need to be bundled > in > > falcon as part of distribution ? How do users provide support artifacts > for > > the recipe > > 2. How do users track execution of instances of a particular recipe. Am > > assuming you can create multiple instances of a single recipe > > 3. Would simple properties table suffice? > > > > Regards > > Srikanth Sundarrajan > > > > > Date: Thu, 7 Aug 2014 19:34:13 -0700 > > > Subject: [DISCUSS] Recipes in Falcon > > > From: venkatesh@innerzeal.com > > > To: dev@falcon.incubator.apache.org > > > > > > Hi folks, > > > > > > Falcon offers many services OOTB and caters to a wide array of use > cases. > > > However, there has been many asks that does not fit the functionality > > > offered by Falcon. I'm proposing that we add recipes to Falcon which = is > > > similar to recipes in Whirr and other management solutions such as > puppet > > > and chef. > > > > > > Overview: > > > A recipe essentially is a static process template with parameterized > > > workflow to realize a specific use case. For example: > > > > > > * replicating directories from one HDFS cluster to another (not timed > > > partitions) > > > * replicating hive metadata (database, table, views, etc.) > > > * replicating between HDFS and Hive - either way > > > * anonymization of data based on schema > > > * data masking > > > * etc. > > > > > > Proposal: > > > Falcon provides a Process abstraction that encapsulates the > configuration > > > for a user workflow with scheduling controls. All recipes can be > modeled > > > as a Process with in Falcon which executes the user workflow > > > periodically. The process and its associated workflow are > parameterized. > > > The user will provide a properties file with name value pairs that ar= e > > > substituted by falcon before scheduling it. > > > > > > The CLI would look something like this: > > > falcon -recipe $recipe_name -properties $properties_file > > > > > > Thoughts? > > > > > > -- > > > Regards, > > > Venkatesh > > > > > > =E2=80=9CPerfection (in design) is achieved not when there is nothing= more to > > add, > > > but rather when there is nothing more to take away.=E2=80=9D > > > - Antoine de Saint-Exup=C3=A9ry > > > > > > -- > _____________________________________________________________ > The information contained in this communication is intended solely for th= e > use of the individual or entity to whom it is addressed and others > authorized to receive it. It may contain confidential or legally privileg= ed > information. If you are not the intended recipient you are hereby notifie= d > that any disclosure, copying, distribution or taking any action in relian= ce > on the contents of this information is strictly prohibited and may be > unlawful. If you have received this communication in error, please notify > us immediately by responding to this email and then delete it from your > system. The firm is neither liable for the proper and complete transmissi= on > of the information contained in this communication nor for any delay in i= ts > receipt. > --=20 _____________________________________________________________ The information contained in this communication is intended solely for the= =20 use of the individual or entity to whom it is addressed and others=20 authorized to receive it. It may contain confidential or legally privileged= =20 information. If you are not the intended recipient you are hereby notified= =20 that any disclosure, copying, distribution or taking any action in reliance= =20 on the contents of this information is strictly prohibited and may be=20 unlawful. If you have received this communication in error, please notify= =20 us immediately by responding to this email and then delete it from your=20 system. The firm is neither liable for the proper and complete transmission= =20 of the information contained in this communication nor for any delay in its= =20 receipt. --e89a8f838ac5665395050018e41c--