You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Shwetha G S (JIRA)" <ji...@apache.org> on 2014/01/14 07:39:51 UTC

[jira] [Commented] (FALCON-258) Falcon status throws an error when external jobids are missing

    [ https://issues.apache.org/jira/browse/FALCON-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13870443#comment-13870443 ] 

Shwetha G S commented on FALCON-258:
------------------------------------

java.lang.IllegalArgumentException: jobId cannot be empty
        at org.apache.oozie.client.OozieClient.notEmpty(OozieClient.java:1446)
        at org.apache.oozie.client.OozieClient$JobInfo.<init>(OozieClient.java:654)
        at org.apache.oozie.client.OozieClient.getJobInfo(OozieClient.java:714)
        at org.apache.oozie.client.OozieClient.getJobInfo(OozieClient.java:701)
        at org.apache.falcon.workflow.engine.OozieWorkflowEngine.getWorkflowInfo(OozieWorkflowEngine.java:489)
        at org.apache.falcon.workflow.engine.OozieWorkflowEngine.doJobAction(OozieWorkflowEngine.java:522)
        at org.apache.falcon.workflow.engine.OozieWorkflowEngine.getStatus(OozieWorkflowEngine.java:477)
        at org.apache.falcon.resource.AbstractInstanceManager.getStatus(AbstractInstanceManager.java:90)
        at org.apache.falcon.resource.InstanceManager.getStatus(InstanceManager.java:56)

> Falcon status throws an error when external jobids are missing
> --------------------------------------------------------------
>
>                 Key: FALCON-258
>                 URL: https://issues.apache.org/jira/browse/FALCON-258
>             Project: Falcon
>          Issue Type: Bug
>          Components: general
>            Reporter: Binish A.R
>            Assignee: Suhas Vasu
>
> falcon instance -status throws an error if one of the jobs in the date range does not have a corresponding JOB/WORKFLOW ID present. Generally this happens when one of the instance has TIMEDOUT/FAILED.
> for instance, oozie info output
> {code}
> 0213158-131109200338010-oozie-oozi-C@35    SUCCEEDED 0057764-131231135059899-oozie-oozi-W -         2014-01-05 23:57 2014-01-06 00:00 
> ------------------------------------------------------------------------------------------------------------------------------------
> 0213158-131109200338010-oozie-oozi-C@36    SUCCEEDED 0070439-131231135059899-oozie-oozi-W -         2014-01-06 23:57 2014-01-07 00:00 
> ------------------------------------------------------------------------------------------------------------------------------------
> 0213158-131109200338010-oozie-oozi-C@37    SUCCEEDED 0079814-131231135059899-oozie-oozi-W -         2014-01-07 23:57 2014-01-08 00:00 
> ------------------------------------------------------------------------------------------------------------------------------------
> 0213158-131109200338010-oozie-oozi-C@38    SUCCEEDED 0091388-131231135059899-oozie-oozi-W -         2014-01-08 23:59 2014-01-09 00:00 
> ------------------------------------------------------------------------------------------------------------------------------------
> 0213158-131109200338010-oozie-oozi-C@39    TIMEDOUT  -                                    -         2014-01-11 08:11 2014-01-10 00:00 
> ------------------------------------------------------------------------------------------------------------------------------------
> 0213158-131109200338010-oozie-oozi-C@40    SUCCEEDED 0118221-131231135059899-oozie-oozi-W -         2014-01-11 11:25 2014-01-11 00:00
> {code}
> And the corresponding falcon instance output
> {code}
> falcon instance -status  -type process -name my-falcon-process  -start 2014-01-08T00:00Z  -end 2014-01-11T00:00Z
> Error: jobId cannot be empty
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)