[
https://issues.apache.org/jira/browse/FALCON-1679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15069352#comment-15069352
]
Pallavi Rao commented on FALCON-1679:
-------------------------------------
Behaviour after the patch:
{code}
IM1738M1:falcon-0.8-SNAPSHOT pallavi.rao$ bin/falcon entity -status -name
pig-sleep -type process -showScheduler
default/RUNNING (scheduled on native)
IM1738M1:falcon-0.8-SNAPSHOT pallavi.rao$ bin/falcon entity -status -name
pig-sleep -type process
default/RUNNING
IM1738M1:falcon-0.8-SNAPSHOT pallavi.rao$ bin/falcon entity -status -name
oozie-mr-process -type process -showScheduler
default/RUNNING (scheduled on oozie)
IM1738M1:falcon-0.8-SNAPSHOT pallavi.rao$ bin/falcon entity -status -name in
-type feed
default/SUBMITTED
IM1738M1:falcon-0.8-SNAPSHOT pallavi.rao$ bin/falcon entity -status -name in
-type feed -showScheduler
default/SUBMITTED
{code}
Note that for SUBMITTED entities, the scheduler is not displayed, coz, it
hasn't been scheduled yet.
> API to get type of scheduler(native/oozie)
> ------------------------------------------
>
> Key: FALCON-1679
> URL: https://issues.apache.org/jira/browse/FALCON-1679
> Project: Falcon
> Issue Type: Improvement
> Components: scheduler
> Affects Versions: 0.9
> Environment: QA
> Reporter: Pragya Mittal
> Assignee: Pallavi Rao
> Fix For: 0.9
>
> Attachments: FALCON-1679.patch
>
>
> With 0.9 there will be two options to schedule entity :
> - Native scheduler
> - Oozie
> As of now there is no way to know which scheduler scheduled which entity.
> There should be a separate api to reflect this or we can add it in existing
> api.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)