[
https://issues.apache.org/jira/browse/FALCON-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ajay Yadava resolved FALCON-1558.
---------------------------------
Resolution: Fixed
Committed to 0.8.
Commit id: 245ebea
Thanks [~pragya.mittal] for your contribution.
> 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
> Assignee: Pragya Mittal
> Fix For: 0.8
>
> Attachments: FALCON-1558.patch
>
>
> 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)