falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samarth Gupta <samarthgupta...@gmail.com>
Subject Re: Exception while submitting CLuster definition to Falcon Cluster
Date Tue, 01 Apr 2014 11:27:03 GMT
can u attach the cluster xml that u r trying to submit. Also it will help
if u can cross check all the ports r up and running or not, especially the
"hftp" one.


On Tue, Apr 1, 2014 at 4:49 PM, Sunil N Kumar <suniln.kumar@impetus.co.in>wrote:

> Hi Samarth,
> It was copy paste issue here in my actual file there is no space. Still
> same issue coming.
>
>
> Thanks and Regards.
> Sunil Kumar
>
>
>
> -----Original Message-----
> From: Samarth Gupta [mailto:samarthgupta007@gmail.com]
> Sent: Tuesday, April 01, 2014 4:42 PM
> To: dev@falcon.incubator.apache.org
> Cc: shwetha.gs@inmobi.com
> Subject: Re: Exception while submitting CLuster definition to Falcon
> Cluster
>
> there is a "space"  in the url   <interface type="workflow"
> endpoint="http:// locahost:11000/oozie/" version="4.0.0"/>
>
> after localhost .... can u remove and try ......
>
> this generally come when one or more end points can not be reached ......
>
>
> On Tue, Apr 1, 2014 at 4:37 PM, Sunil N Kumar <suniln.kumar@impetus.co.in
> >wrote:
>
> > Hi,
> > I am getting following exception while submitting plain cluster
> > definition to the falcon Server:
> > bin/falcon entity -submit -type cluster -file
> > examples/entity/standalone-cluster.xml
> > Error:
> >
> default/org.apache.falcon.FalconException::com.sun.jersey.api.client.ClientHandlerException:
> > java.lang.IllegalArgumentException: URI is not absolute
> >
> > Environment:
> > Falcon Version: 0.4
> > Hadoop Version: 1.2.1
> > Oozie  Version : 4.0.0
> > ActiveMQ Embedded
> >
> > Cluster Definition:
> > <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <cluster
> > name="local" description="Standalone cluster" colo="local"
> > xmlns="uri:falcon:cluster:0.1">
> >     <interfaces>
> >         <interface type="readonly" endpoint="hftp://locahost:50070"
> > version="1.1.2"/>
> >         <interface type="write" endpoint="hdfs://locahost:9000"
> > version="1.1.2"/>
> >         <interface type="execute" endpoint="locahost:9001"
> > version="1.1.2"/>
> >         <interface type="workflow" endpoint="
> http://locahost:11000/oozie/" version="4.0.0"/>
> >         <interface type="messaging"
> > endpoint="tcp://localhost:61616?daemon=true" version="5.4.3"/>
> >     </interfaces>
> >     <locations>
> >         <location name="staging" path="/falcon/staging"/>
> >         <location name="temp" path="/falcon/temp"/>
> >         <location name="working" path="/falcon/working"/>
> >     </locations>
> >     <properties/>
> > </cluster>
> >
> > Full stack trace:
> > 2014-04-01 21:27:42,759 ERROR -
> > [1179404661@qtp-1593111626-0:cloud:POST//entities/submit/cluster
> > a55ef676-5bc5-46af-9dd3-cca8afa62cbc] ~ Request failed
> > (HTTPChannel:104)
> > com.sun.jersey.api.client.ClientHandlerException:
> > java.lang.IllegalArgumentException: URI is not absolute
> >                 at
> >
> com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149)
> >                 at
> com.sun.jersey.api.client.Client.handle(Client.java:648)
> >                 at
> > com.sun.jersey.api.client.WebResource.handle(WebResource.java:670)
> >                 at
> > com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
> >                 at
> >
> com.sun.jersey.api.client.WebResource$Builder.method(WebResource.java:623)
> >                 at
> >
> org.apache.falcon.resource.channel.HTTPChannel.invoke(HTTPChannel.java:85)
> >                 at
> >
> org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$1.doExecute(SchedulableEntityManagerProxy.java:119)
> >                 at
> >
> org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityProxy.execute(SchedulableEntityManagerProxy.java:404)
> >                 at
> >
> org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit_aroundBody0(SchedulableEntityManagerProxy.java:121)
> >                 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:106)
> >                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> >                 at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >                 at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >                 at java.lang.reflect.Method.invoke(Method.java:597)
> >                 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.doFilter(BasicAuthFilter.java:88)
> >                 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: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.ja
> > va:582) Caused by: java.lang.IllegalArgumentException: URI is not
> > absolute
> >                 at java.net.URI.toURL(URI.java:1079)
> >                 at
> >
> com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:157)
> >                 at
> >
> com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147)
> >                 ... 50 more
> > 2014-04-01 21:27:42,762 ERROR - [1179404661@qtp-1593111626-0:cl
> >
> >
> > Thanks and Regards.
> > Sunil Kumar
> >
> >
> >
> > ________________________________
> >
> >
> >
> >
> >
> >
> > NOTE: This message may contain information that is confidential,
> > proprietary, privileged or otherwise protected by law. The message is
> > intended solely for the named addressee. If received in error, please
> > destroy and notify the sender. Any use of this email is prohibited
> > when received in error. Impetus does not represent, warrant and/or
> > guarantee, that the integrity of this communication has been
> > maintained nor that the communication is free of errors, virus,
> interception or interference.
> >
>
> ________________________________
>
>
>
>
>
>
> NOTE: This message may contain information that is confidential,
> proprietary, privileged or otherwise protected by law. The message is
> intended solely for the named addressee. If received in error, please
> destroy and notify the sender. Any use of this email is prohibited when
> received in error. Impetus does not represent, warrant and/or guarantee,
> that the integrity of this communication has been maintained nor that the
> communication is free of errors, virus, interception or interference.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message