falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1782) Client returns FalconWebException instead of the expected error message
Date Fri, 29 Jan 2016 12:56:39 GMT

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

ASF GitHub Bot commented on FALCON-1782:
----------------------------------------

GitHub user PraveenAdlakha opened a pull request:

    https://github.com/apache/falcon/pull/18

    FALCON-1782 Client returns FalconWebException instead of the expected…

    testing :
    
    $ bin/falcon entity -type process -name process1 -properties falcon.scheduler:native -schedule
    ERROR: Bad Request;default/Entity process1 is already scheduled on configured workflow
engine.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/PraveenAdlakha/falcon FALCON-1782

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/falcon/pull/18.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #18
    
----
commit 5703e3a622bd868bf91bac916ae3e381890c415b
Author: Praveen Adlakha <adlakha.praveen@gmail.com>
Date:   2016-01-29T12:55:17Z

    FALCON-1782 Client returns FalconWebException instead of the expected error message

----


> 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)

Mime
View raw message