[
https://issues.apache.org/jira/browse/FALCON-1782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pragya Mittal updated FALCON-1782:
----------------------------------
Description:
{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}
was:
{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-agregator-coord16-fe18314d 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}
> 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}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)