Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.9
-
None
-
None
Description
ClassCastException occurs while submitAndSchedule feed
uri: http://[hostname]:15000/api/entities/submit/cluster?user.name=hrt_qa
payload:
<?xml version="1.0" encoding="UTF-8"?><feed xmlns="uri:falcon:feed:0.1" name="A323e3eea-71bf9cf8" description="clicks log"> <frequency>hours(1)</frequency> <timezone>UTC</timezone> <late-arrival cut-off="hours(6)"/> <clusters> <cluster name="A323e3eea-81f1526b" type="source"> <validity start="2010-01-01T20:00Z" end="2099-01-01T00:00Z"/> <retention limit="months(9000)" action="delete"/> </cluster> <cluster name="A323e3eea-0729973a" type="target"> <validity start="2010-01-01T20:00Z" end="2099-01-01T00:00Z"/> <retention limit="months(9000)" action="delete"/> <table uri="catalog:default:hcatFeedOperationsTest#year=${YEAR}"/> </cluster> </clusters> <table uri="catalog:default:hcatFeedOperationsTest#year=${YEAR}"/> <ACL owner="hrt_qa" group="users" permission="0x755"/> <schema location="hcat" provider="hcat"/> <properties> <property name="field1" value="value1"/> <property name="field2" value="value2"/> </properties> </feed>
Exception:
Entity schedule failed for feed: Acdd50630-24adeaaf (AbstractSchedulableEntityManager:104)
java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to org.apache.xerces.dom.ElementNSImpl
at org.apache.falcon.util.OozieUtils.unMarshalHiveAction(OozieUtils.java:89)
Stack trace:
000007.hwx.site:9083 (OozieEntityBuilder:71) 2018-02-15 00:09:53,273 ERROR - [290968357@qtp-57241990-276 - 64cb2640-bfde-48b7-a97a-70d016d74b98:hrt_qa:POST//entities/submitAndSchedule/feed] ~ Entity schedule failed for feed: A323e3eea-71bf9cf8 (AbstractSchedulableEntityManager:104) java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to org.apache.xerces.dom.ElementNSImpl at org.apache.falcon.util.OozieUtils.unMarshalHiveAction(OozieUtils.java:89) at org.apache.falcon.oozie.feed.HCatReplicationWorkflowBuilder.getWorkflow(HCatReplicationWorkflowBuilder.java:84) at org.apache.falcon.oozie.feed.FeedReplicationWorkflowBuilder.build(FeedReplicationWorkflowBuilder.java:74) at org.apache.falcon.oozie.feed.FeedReplicationCoordinatorBuilder.doBuild(FeedReplicationCoordinatorBuilder.java:121) at org.apache.falcon.oozie.feed.FeedReplicationCoordinatorBuilder.buildCoords(FeedReplicationCoordinatorBuilder.java:93) at org.apache.falcon.oozie.feed.FeedBundleBuilder.buildCoords(FeedBundleBuilder.java:69) at org.apache.falcon.oozie.OozieBundleBuilder.build(OozieBundleBuilder.java:71) at org.apache.falcon.oozie.OozieEntityBuilder.build(OozieEntityBuilder.java:120) at org.apache.falcon.oozie.OozieEntityBuilder.build(OozieEntityBuilder.java:116) at org.apache.falcon.workflow.engine.OozieWorkflowEngine.schedule(OozieWorkflowEngine.java:174) at org.apache.falcon.resource.AbstractSchedulableEntityManager.scheduleInternal(AbstractSchedulableEntityManager.java:102) at org.apache.falcon.resource.AbstractSchedulableEntityManager.schedule(AbstractSchedulableEntityManager.java:80) at org.apache.falcon.resource.SchedulableEntityManager.schedule(SchedulableEntityManager.java:283) at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.falcon.resource.channel.IPCChannel.invoke(IPCChannel.java:49) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$11.doExecute(SchedulableEntityManagerProxy.java:552) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityProxy.execute(SchedulableEntityManagerProxy.java:841) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.schedule_aroundBody16(SchedulableEntityManagerProxy.java:555) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClosure17.run(SchedulableEntityManagerProxy.java:1) at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) at org.apache.falcon.aspect.AbstractFalconAspect.logAroundMonitored(AbstractFalconAspect.java:51) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.schedule(SchedulableEntityManagerProxy.java:536) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.schedule_aroundBody20(SchedulableEntityManagerProxy.java:581) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClosure21.run(SchedulableEntityManagerProxy.java:1) at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) at org.apache.falcon.aspect.AbstractFalconAspect.logAroundMonitored(AbstractFalconAspect.java:51) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submitAndSchedule_aroundBody22(SchedulableEntityManagerProxy.java:581) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClosure23.run(SchedulableEntityManagerProxy.java:1) at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) at org.apache.falcon.aspect.AbstractFalconAspect.logAroundMonitored(AbstractFalconAspect.java:51) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submitAndSchedule(SchedulableEntityManagerProxy.java:572) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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:108) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) at org.apache.falcon.security.FalconCSRFFilter.doFilter(FalconCSRFFilter.java:78) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) at org.apache.falcon.security.FalconAuthenticationFilter$2.doFilter(FalconAuthenticationFilter.java:188) at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:617) at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:576) at org.apache.falcon.security.FalconAuthenticationFilter.doFilter(FalconAuthenticationFilter.java:197) 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.apache.falcon.security.FalconXFrameOptionsFilter.doFilter(FalconXFrameOptionsFilter.java:56) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) at org.apache.falcon.security.HostnameFilter.doFilter(HostnameFilter.java:82) 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.content(HttpConnection.java:945) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) 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) 2018-02-15 00:09:53,274 INFO - [290968357@qtp-57241990-276 - 64cb2640-bfde-48b7-a97a-70d016d74b98:hrt_qa:POST//entities/submitAndSchedule/feed] ~ Successfully released lock on (feed) A323e3eea-71bf9cf8 by 290968357@qtp-57241990-276 - 64cb2640-bfde-48b7-a97a-70d016d74b98 (MemoryLocks:70)
Attachments
Issue Links
- relates to
-
FALCON-2332 Tests failing with java.lang.ClassCastException for unmarshal
- Resolved
- links to