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 8305D17DA4 for ; Thu, 19 Mar 2015 01:03:51 +0000 (UTC) Received: (qmail 79352 invoked by uid 500); 19 Mar 2015 01:03:51 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 79254 invoked by uid 500); 19 Mar 2015 01:03:51 -0000 Mailing-List: contact dev-help@falcon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.apache.org Delivered-To: mailing list dev@falcon.apache.org Received: (qmail 79234 invoked by uid 99); 19 Mar 2015 01:03:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Mar 2015 01:03:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 19 Mar 2015 01:03:30 +0000 Received: (qmail 78845 invoked by uid 99); 19 Mar 2015 01:03:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Mar 2015 01:03:27 +0000 Date: Thu, 19 Mar 2015 01:03:27 +0000 (UTC) From: "Sowmya Ramesh (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FALCON-1105) Recipe repository management API's and CLI support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FALCON-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sowmya Ramesh updated FALCON-1105: ---------------------------------- Attachment: FALCON-1105.v0.patch > Recipe repository management API's and CLI support > -------------------------------------------------- > > Key: FALCON-1105 > URL: https://issues.apache.org/jira/browse/FALCON-1105 > Project: Falcon > Issue Type: Sub-task > Components: client > Affects Versions: 0.6 > Reporter: Sowmya Ramesh > Assignee: Sowmya Ramesh > Labels: Recipe > Fix For: 0.7 > > Attachments: FALCON-1105.v0.patch > > > *Recipe Listing* > A GET method may be added to the Prism server on a new Jersey resource to list recipes and their corresponding root location on recipe repository. Corresponding CLI methods to be present > {noformat} > [hrt_qa@node-1 recipe]$ falcon recipe -list > List of recipes > { > "totalSize": 2, > "results": { > "hdfs-replication": "hdfs://node-1.example.com:8020/apps/falcon/recipe/hdfs-replication", > "hive-disaster-recovery": "hdfs://node-1.example.com:8020/apps/falcon/recipe/hive-disaster-recovery" > } > } > {noformat} > *Get resources of a given recipe* > List all the resources of a given recipe > {noformat} > [hrt_qa@node-1 recipe]$ falcon recipe -getResources -name hdfs-replication > { > "totalSize": 3, > "results": { > "hdfs-replication-template.xml": "hdfs://node-1.example.com:8020/apps/falcon/recipe/hdfs-replication/resources/build/hdfs-replication-template.xml", > "hdfs-replication-workflow.xml": "hdfs://node-1.example.com:8020/apps/falcon/recipe/hdfs-replication/resources/runtime/hdfs-replication-workflow.xml", > "hdfs-replication.properties": "hdfs://node-1.example.com:8020/apps/falcon/recipe/hdfs-replication/resources/build/hdfs-replication.properties" > } > } > {noformat} > *Recipe Description* > A GET method may be added to the Prism server to echo the README as documentation for the users. This may contain brief on the functionality offered by the recipe and any operability notes of importance > {noformat} > [hrt_qa@node-1 recipe]$ falcon recipe -describe -name hdfs-replication > HDFS Directory Replication Recipe > Overview > This recipe implements replicating arbitrary directories on HDFS from one > Hadoop cluster to another Hadoop cluster. > This piggy backs on replication solution in Falcon which uses the DistCp tool. > Use Case > * Copy directories between HDFS clusters with out dated partitions > * Archive directories from HDFS to Cloud. Ex: S3, Azure WASB > Limitations > As the data volume and number of files grow, this can get inefficient. > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)