You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Pragya Mittal (JIRA)" <ji...@apache.org> on 2015/10/26 13:14:27 UTC

[jira] [Updated] (FALCON-1558) Sla API shows pending instance although _SUCCESS directory is present

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

Pragya Mittal updated FALCON-1558:
----------------------------------
    Description: 
Currently sla api contains instances whose empty directory is present.
{noformat}
dataqa@lda01:~$ falcon instance -type feed -name feed2 -start 2015-10-26T11:36Z -listing
Consolidated Status: SUCCEEDED

Instances:
Cluster         Instance            Status          Size            CreationTime        Details         
-----------------------------------------------------------------------------------------------
cl-sla          2015-10-26T11:36Z   MISSING         -               -                   /tmp/falcon-regression/FeedSlaMonitoring/input/2015/10/26/11/36
cl-sla          2015-10-26T11:38Z   MISSING         -               -                   /tmp/falcon-regression/FeedSlaMonitoring/input/2015/10/26/11/38
cl-sla          2015-10-26T11:40Z   EMPTY           0 bytes         2015-10-26T11:38Z   /tmp/falcon-regression/FeedSlaMonitoring/input/2015/10/26/11/40

{noformat}

Data path is present :
{noformat}
dataqa@lda01:/mnt/users/pragya/defn/sla$ hl -R hdfs://192.168.138.236:8020/tmp/falcon-regression/FeedSlaMonitoring/input/2015/10/26/11/40/
15/10/26 11:44:39 INFO util.Shell: ===Loading custom Shell class JIRA:GRIDOPS-4518 ==
drwxr-xr-x   - dataqa hdfs          0 2015-10-26 11:38 hdfs://192.168.138.236:8020/tmp/falcon-regression/FeedSlaMonitoring/input/2015/10/26/11/40/_SUCCESS

{noformat}

SlaAlert response :
{noformat}
dataqa@lda01:~$ falcon entity -type feed -start 2015-10-26T11:40Z -end 2015-10-26T11:40Z -slaAlert
name: feed2, type: FEED, cluster: cl-sla, instanceTime: 2015-10-26T11:40Z, tags: Missed SLA High

{noformat}

> Sla API shows pending instance although _SUCCESS directory is present
> ---------------------------------------------------------------------
>
>                 Key: FALCON-1558
>                 URL: https://issues.apache.org/jira/browse/FALCON-1558
>             Project: Falcon
>          Issue Type: Bug
>    Affects Versions: 0.8
>            Reporter: Pragya Mittal
>
> Currently sla api contains instances whose empty directory is present.
> {noformat}
> dataqa@lda01:~$ falcon instance -type feed -name feed2 -start 2015-10-26T11:36Z -listing
> Consolidated Status: SUCCEEDED
> Instances:
> Cluster         Instance            Status          Size            CreationTime        Details         
> -----------------------------------------------------------------------------------------------
> cl-sla          2015-10-26T11:36Z   MISSING         -               -                   /tmp/falcon-regression/FeedSlaMonitoring/input/2015/10/26/11/36
> cl-sla          2015-10-26T11:38Z   MISSING         -               -                   /tmp/falcon-regression/FeedSlaMonitoring/input/2015/10/26/11/38
> cl-sla          2015-10-26T11:40Z   EMPTY           0 bytes         2015-10-26T11:38Z   /tmp/falcon-regression/FeedSlaMonitoring/input/2015/10/26/11/40
> {noformat}
> Data path is present :
> {noformat}
> dataqa@lda01:/mnt/users/pragya/defn/sla$ hl -R hdfs://192.168.138.236:8020/tmp/falcon-regression/FeedSlaMonitoring/input/2015/10/26/11/40/
> 15/10/26 11:44:39 INFO util.Shell: ===Loading custom Shell class JIRA:GRIDOPS-4518 ==
> drwxr-xr-x   - dataqa hdfs          0 2015-10-26 11:38 hdfs://192.168.138.236:8020/tmp/falcon-regression/FeedSlaMonitoring/input/2015/10/26/11/40/_SUCCESS
> {noformat}
> SlaAlert response :
> {noformat}
> dataqa@lda01:~$ falcon entity -type feed -start 2015-10-26T11:40Z -end 2015-10-26T11:40Z -slaAlert
> name: feed2, type: FEED, cluster: cl-sla, instanceTime: 2015-10-26T11:40Z, tags: Missed SLA High
> {noformat}



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