falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balu Vellanki (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-1371) Status of scheduled Process entity is shown as submitted in corner case
Date Thu, 03 Sep 2015 00:26:45 GMT

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

Balu Vellanki updated FALCON-1371:
    Attachment: FALCON-1371.patch

This patch handles the following scenarios.

1. When a bundle completed running successfully, status is now shown as "Succeeded" instead
of "Submitted"

2. When the following feed is submitted, a coordinator is created for replication on backupCluster,
but no coordinator is created on primaryCluster for retention because the feed validity on
primaryCluster is in the past. There was a bug in code which was causing feed status to be
shown as "submitted" if any of the clusters have a MISSING bundle. After this fix, the status
will be shown as running.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<feed name="cleansedEmailFeed" description="Cleansed customer emails" xmlns="uri:falcon:feed:0.1">
    <late-arrival cut-off="hours(4)"/>
        <cluster name="primaryCluster" type="source">
            <validity start="2015-07-22T01:00Z" end="2015-07-22T03:00Z"/>
            <retention limit="hours(90)" action="delete"/>
                <location type="data" path="/user/ambari-qa/falcon/demo/primary/processed/enron/${YEAR}-${MONTH}-${DAY}-${HOUR}"/>
                <location type="stats" path="/"/>
                <location type="meta" path="/"/>
        <cluster name="backupCluster" type="target">
            <validity start="2015-07-22T01:00Z" end="2015-07-22T03:00Z"/>
            <retention limit="hours(90)" action="delete"/>
                <location type="data" path="/falcon/demo/bcp/processed/enron/${YEAR}-${MONTH}-${DAY}-${HOUR}"/>
                <location type="stats" path="/"/>
                <location type="meta" path="/"/>
        <location type="data" path="/user/ambari-qa/falcon/demo/processed/enron/${YEAR}-${MONTH}-${DAY}-${HOUR}"/>
        <location type="stats" path="/"/>
        <location type="meta" path="/"/>
    <ACL owner="ambari-qa" group="users" permission="0x755"/>
    <schema location="/none" provider="/none"/>

3. If a bundle is killed using oozie command line, the status of entity will be now shown

4. Added support for FAILED.

5. Added methods to avoid calling findLatestBundle(...) repeatedly. 

> Status of scheduled Process entity is shown as submitted in corner case
> -----------------------------------------------------------------------
>                 Key: FALCON-1371
>                 URL: https://issues.apache.org/jira/browse/FALCON-1371
>             Project: Falcon
>          Issue Type: Bug
>    Affects Versions: 0.6.1
>            Reporter: Balu Vellanki
>            Assignee: Balu Vellanki
>         Attachments: FALCON-1371.patch
> Create a process entity with 
> - frequency of 1 hour
> - validity start as "2012-07-01T00:00Z" 
> - and validity end as "2012-07-01T01:02Z"
> Now list the process entity after one hour. The process coordinator status in Oozie is
"succeeded". But Falcon shows the status as submitted. 

This message was sent by Atlassian JIRA

View raw message