falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sowmya Ramesh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-1105) Recipe repository management API's and CLI support
Date Thu, 03 Mar 2016 21:15:18 GMT

     [ https://issues.apache.org/jira/browse/FALCON-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sowmya Ramesh updated FALCON-1105:
----------------------------------
    Description: Provide REST API's for recipe store hosted in HDFS.  (was: *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}
)

> 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
>         Attachments: FALCON-1105.v0.patch
>
>
> Provide REST API's for recipe store hosted in HDFS.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message