[
https://issues.apache.org/jira/browse/FALCON-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13987514#comment-13987514
]
Satish Mittal commented on FALCON-426:
--------------------------------------
The prism server logs contents:
{noformat}
2014-04-30 07:41:52,068 INFO -
[1632886976@qtp-1751161119-4:falcon:POST//entities/submit/cluster
43b0c2b5-54af-4b2d-bb45-4a45e4dc4653] ~ Logging in falcon (CurrentUser:52)
2014-04-30 07:41:52,069 INFO -
[1632886976@qtp-1751161119-4:falcon:POST//entities/submit/cluster
43b0c2b5-54af-4b2d-bb45-4a45e4dc4653] ~ Request from user: falcon,
URL=https://localhost:16443/api/entities/submit/cluster (BasicAuthFilter:181)
2014-04-30 07:41:52,080 INFO -
[1632886976@qtp-1751161119-4:falcon:POST//entities/submit/cluster
43b0c2b5-54af-4b2d-bb45-4a45e4dc4653] ~ Parsed Entity: dev2 (EntityParser:83)
2014-04-30 07:41:52,084 DEBUG -
[1632886976@qtp-1751161119-4:falcon:POST//entities/submit/cluster
43b0c2b5-54af-4b2d-bb45-4a45e4dc4653] ~ Executing
https://10.14.118.99:15443//secure/sync/submit/cluster?colo=dev2&
(HTTPChannel:81)
2014-04-30 07:41:52,087 INFO -
[1632886976@qtp-1751161119-4:falcon:POST//entities/submit/cluster
43b0c2b5-54af-4b2d-bb45-4a45e4dc4653] ~ Configuring client with
/home/satish/install/falcon-prism/conf/prism.keystore (SecureHTTPChannel:56)
2014-04-30 07:41:52,389 ERROR -
[1632886976@qtp-1751161119-4:falcon:POST//entities/submit/cluster
43b0c2b5-54af-4b2d-bb45-4a45e4dc4653] ~ Request failed: 404 (HTTPChannel:106)
2014-04-30 07:41:52,398 ERROR -
[1632886976@qtp-1751161119-4:falcon:POST//entities/submit/cluster
43b0c2b5-54af-4b2d-bb45-4a45e4dc4653] ~ Request failed (HTTPChannel:110)
org.apache.falcon.FalconException: <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 404 NOT_FOUND</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing //secure/sync/submit/cluster. Reason:
<pre> NOT_FOUND</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/>
<br/>
</body>
</html>
at
org.apache.falcon.resource.channel.HTTPChannel.invoke(HTTPChannel.java:107)
at
org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$1.doExecute(SchedulableEntityManagerProxy.java:118)
at
org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityProxy.execute(SchedulableEntityManagerProxy.java:410)
at
org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit_aroundBody0(SchedulableEntityManagerProxy.java:120)
at
org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClosure1.run(SchedulableEntityManagerProxy.java:1)
at
org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at
org.apache.falcon.aspect.AbstractFalconAspect.logAround(AbstractFalconAspect.java:50)
at
org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit(SchedulableEntityManagerProxy.java:107)
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:616)
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.BasicAuthFilter$2.doFilter(BasicAuthFilter.java:183)
at
org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:382)
at
org.apache.falcon.security.BasicAuthFilter.doFilter(BasicAuthFilter.java:221)
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)
{noformat}
> Prism unable to connect to falcon server if falcon endpoint URL ends with '/'
> character
> ---------------------------------------------------------------------------------------
>
> Key: FALCON-426
> URL: https://issues.apache.org/jira/browse/FALCON-426
> Project: Falcon
> Issue Type: Bug
> Affects Versions: 0.5
> Reporter: Satish Mittal
> Assignee: Satish Mittal
>
> With trunk build, started falcon in distributed mode and inside prism
> runtime.properties, configured endpoint of falcon server to
> https://localhost:15443/. However cluster submit operation failed with error
> message containing:
> {noformat}
> Error: Bad
> Request;dev2/org.apache.falcon.FalconException::org.apache.falcon.FalconException:
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
> <title>Error 404 NOT_FOUND</title>
> </head>
> <body><h2>HTTP ERROR 404</h2>
> <p>Problem accessing //secure/sync/submit/cluster. Reason:
> <pre> NOT_FOUND</pre></p><hr /><i><small>Powered by
> Jetty://</small></i><br/>
> {noformat}
> The entity submit operations succeed if endpoint doesn't have '/' in the end.
> However falcon should be robust enough to handle server URLs ending with '/'
> as well.
--
This message was sent by Atlassian JIRA
(v6.2#6252)