You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Praveen Adlakha (JIRA)" <ji...@apache.org> on 2016/01/29 13:17:39 UTC

[jira] [Commented] (FALCON-1782) Client returns FalconWebException instead of the expected error message

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

Praveen Adlakha commented on FALCON-1782:
-----------------------------------------

This error is not because of the Error handling code that was pushed previously.The same error used to be thrown earlier also.I am fixing it will upload the patch in some time.

> Client returns FalconWebException instead of the expected error message
> -----------------------------------------------------------------------
>
>                 Key: FALCON-1782
>                 URL: https://issues.apache.org/jira/browse/FALCON-1782
>             Project: Falcon
>          Issue Type: Bug
>          Components: client, scheduler
>    Affects Versions: 0.9
>            Reporter: Pragya Mittal
>            Assignee: Praveen Adlakha
>             Fix For: 0.9
>
>
> {noformat}
> dataqa@lda01:~$ falcon entity -type process -schedule -name ProcessMultipleClustersTest -properties falcon.scheduler:native
> ERROR: Bad Request;ua1/Entity schedule failed for process: ProcessMultipleClustersTest
> {noformat}
> Although server logs conatin the following stack trace :
> {noformat}
> 2016-01-27 12:39:38,948 ERROR - [904889633@qtp-690339675-6 - b34cec09-f533-495c-92e1-a927948aef7b:dataqa:POST//entities/schedule/process/ProcessMultipleClustersTest] ~ Entity schedule failed for process: ProcessMultipleClustersTest (AbstractSchedulableEntityManager:105)
> org.apache.falcon.FalconException: Entity ProcessMultipleClustersTest is already scheduled on configured workflow engine.
>         at org.apache.falcon.workflow.WorkflowEngineFactory.getWorkflowEngine(WorkflowEngineFactory.java:93)
>         at org.apache.falcon.resource.AbstractSchedulableEntityManager.scheduleInternal(AbstractSchedulableEntityManager.java:103)
>         at org.apache.falcon.resource.AbstractSchedulableEntityManager.schedule(AbstractSchedulableEntityManager.java:82)
>         at org.apache.falcon.resource.SchedulableEntityManager.schedule(SchedulableEntityManager.java:175)
>         at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:497)
>         at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
>         at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
>         at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
>         at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
> {noformat}
> Prism logs say the following :
> {noformat}
> 2016-01-27 12:39:38,948 ERROR - [904889633@qtp-690339675-6 - b34cec09-f533-495c-92e1-a927948aef7b:dataqa:POST//entities/schedule/process/ProcessMultipleClustersTest] ~ Unable to schedule workflow (AbstractSchedulableEntityManager:85)
> org.apache.falcon.FalconWebException
>         at org.apache.falcon.FalconWebException.newAPIException(FalconWebException.java:62)
>         at org.apache.falcon.FalconWebException.newAPIException(FalconWebException.java:54)
>         at org.apache.falcon.resource.AbstractSchedulableEntityManager.scheduleInternal(AbstractSchedulableEntityManager.java:106)
>         at org.apache.falcon.resource.AbstractSchedulableEntityManager.schedule(AbstractSchedulableEntityManager.java:82)
>         at org.apache.falcon.resource.SchedulableEntityManager.schedule(SchedulableEntityManager.java:175)
>         at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:497)
> {noformat}



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