falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Yadava (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1380) Triage Result throws incorrect error message on prism for an invalid process instance
Date Sun, 09 Aug 2015 10:30:45 GMT

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

Ajay Yadava commented on FALCON-1380:
-------------------------------------

New error message
{code}
ERROR: Bad Request;<?xml version="1.0" encoding="UTF-8" standalone="yes"?><triage><status>FAILED</status><message>ua1/java.lang.IllegalArgumentException:
Instance time provided: Sat Jun 06 15:10:00 IST 2015 for process: producer is not a valid
instance time on cluster: local on the basis of startDate and frequency
	at org.apache.falcon.entity.ProcessHelper.validateProcessInstance(ProcessHelper.java:111)
	at org.apache.falcon.entity.ProcessHelper.getInputFeedInstances(ProcessHelper.java:131)
	at org.apache.falcon.resource.AbstractInstanceManager.triage(AbstractInstanceManager.java:733)
	at org.apache.falcon.resource.AbstractInstanceManager.triageInstance(AbstractInstanceManager.java:652)
	at org.apache.falcon.resource.InstanceManager.triageInstance(InstanceManager.java:239)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	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)
	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
	at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
	at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
	at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
	at org.apache.falcon.security.FalconAuthorizationFilter.doFilter(FalconAuthorizationFilter.java:106)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
	at org.apache.falcon.security.FalconAuthenticationFilter$2.doFilter(FalconAuthenticationFilter.java:184)
	at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:396)
	at org.apache.falcon.security.FalconAuthenticationFilter.doFilter(FalconAuthenticationFilter.java:193)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
	at org.apache.falcon.security.FalconAuditFilter.doFilter(FalconAuditFilter.java:64)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

</message><requestId>ua1/119195349@qtp-1386976509-0 - 41341377-34db-43f2-8b34-cdc8b2cdddb6
</requestId></triage>
{code}

> Triage Result throws incorrect error message on prism for an invalid process instance
> -------------------------------------------------------------------------------------
>
>                 Key: FALCON-1380
>                 URL: https://issues.apache.org/jira/browse/FALCON-1380
>             Project: Falcon
>          Issue Type: Sub-task
>            Reporter: Ajay Yadava
>            Assignee: Ajay Yadava
>             Fix For: 0.7
>
>         Attachments: FALCON-1380.patch
>
>
> The web service response has now changed to :
> <?xml version="1.0" encoding="UTF-8"?><result>
>   <status>FAILED</status>
> <message>ua1/java.lang.ClassCastException::org.apache.falcon.resource.APIResult
cannot be cast to org.apache.falcon.resource.TriageResult
> </message>
>   <requestId>ua1/1205515847@qtp-943081537-20 - 1d4bb5ee-9804-4065-aa73-29866a8384ac
> </requestId>
> </result>
> Reported by [~karishmag9]



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

Mime
View raw message