You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by Sunil N Kumar <su...@impetus.co.in> on 2014/04/01 13:07:58 UTC
Exception while submitting CLuster definition to Falcon Cluster
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.java: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.
Re: Exception while submitting CLuster definition to Falcon Cluster
Posted by Samarth Gupta <sa...@gmail.com>.
i just submitted the xml u provided successfully on my local setup, below
is the result, only thing different was the end points and ports :
-------------------------------------------------
samarth@ivoryqa-1:~/falcon/current_prism/bin$ ./falcon entity -submit -type
cluster -file ~/pipelines/test/cluster.xml
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_GB.UTF-8)
falcon/ua1/Submit successful (cluster) local1
ua3/Submit successful (cluster) local1
ua2/Submit successful (cluster) local1
prism/Submit successful (cluster) local1
--------------------------------------
so its mostly setup issue i guees, not xml one.
below r the steps that might help in debugging :
1. if u r running in embedded / stand alone mode then most probably its a
unreachable end point issue.
2. if u r running in distributed set up with prism and server , pls check
the runtime properties of the prism , have they been configured properly to
contact the servers , and server startup.properties having correct
*.current.colo value according to runtime properties.
On Tue, Apr 1, 2014 at 5:00 PM, Sunil N Kumar <su...@impetus.co.in>wrote:
> Please find below and this is also visible in Falcon UI:
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <cluster name="local1" description="Standalone cluster" colo="local1"
> xmlns="uri:falcon:cluster:0.1">
> <interfaces>
> <interface type="readonly" endpoint="hftp://192.168.41.106:50070"
> version="1.2.1"/>
> <interface type="write" endpoint="hdfs://192.168.41.106:9000"
> version="1.2.1"/>
> <interface type="execute" endpoint="192.168.41.106:9001"
> version="1.2.1"/>
> <interface type="workflow" endpoint="
> http://192.168.41.106: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>
>
> Thanks and Regards.
> Sunil Kumar
>
>
>
> -----Original Message-----
> From: Samarth Gupta [mailto:samarthgupta007@gmail.com]
> Sent: Tuesday, April 01, 2014 4:57 PM
> To: dev@falcon.incubator.apache.org
> Subject: Re: Exception while submitting CLuster definition to Falcon
> Cluster
>
> 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.doExe
> > cute(SchedulableEntityManagerProxy.java:119)
> > > at
> > >
> > org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityP
> > roxy.execute(SchedulableEntityManagerProxy.java:404)
> > > at
> > >
> > org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit_
> > aroundBody0(SchedulableEntityManagerProxy.java:121)
> > > at
> > >
> > org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClos
> > ure1.run(SchedulableEntityManagerProxy.java:1)
> > > at
> > >
> org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
> > > at
> > >
> > org.apache.falcon.aspect.AbstractFalconAspect.logAround(AbstractFalcon
> > Aspect.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.j
> > ava:39)
> > > at
> > >
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> > orImpl.java:25)
> > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > at
> > >
> > com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMet
> > hodInvokerFactory.java:60)
> > > at
> > >
> > com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMetho
> > dDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispa
> > tchProvider.java:185)
> > > at
> > >
> > com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDis
> > patcher.dispatch(ResourceJavaMethodDispatcher.java:75)
> > > at
> > >
> > com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodR
> > ule.java:288)
> > > at
> > >
> > com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHan
> > dPathRule.java:147)
> > > at
> > >
> > com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(Resource
> > ClassRule.java:108)
> > > at
> > >
> > com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHan
> > dPathRule.java:147)
> > > at
> > >
> > com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(Ro
> > otResourceClassesRule.java:84)
> > > at
> > >
> > com.sun.jersey.server.impl.application.WebApplicationImpl._handleReque
> > st(WebApplicationImpl.java:1469)
> > > at
> > >
> > com.sun.jersey.server.impl.application.WebApplicationImpl._handleReque
> > st(WebApplicationImpl.java:1400)
> > > at
> > >
> > com.sun.jersey.server.impl.application.WebApplicationImpl.handleReques
> > t(WebApplicationImpl.java:1349)
> > > at
> > >
> > com.sun.jersey.server.impl.application.WebApplicationImpl.handleReques
> > t(WebApplicationImpl.java:1339)
> > > at
> > >
> > com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent
> > .java:416)
> > > at
> > >
> > com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletC
> > ontainer.java:537)
> > > at
> > >
> > com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletC
> > ontainer.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(ServletH
> > andler.java:1221)
> > > at
> > >
> > org.apache.falcon.security.BasicAuthFilter.doFilter(BasicAuthFilter.ja
> > va:88)
> > > at
> > >
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletH
> > andler.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.j
> > ava: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.
> >
>
> ________________________________
>
>
>
>
>
>
> 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.
>
Re: Exception while submitting CLuster definition to Falcon Cluster
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Good to hear and thanks for the update Sunil.
Regards
JB
On 04/01/2014 03:10 PM, Sunil N Kumar wrote:
> Thanks everyone I am able to run same xml. There was issue in the startup.properties and runtime.properties files configurations.
>
> Thanks and Regards.
> Sunil Kumar
>
>
>
> -----Original Message-----
> From: Jean-Baptiste Onofré [mailto:jb@nanthrax.net]
> Sent: Tuesday, April 01, 2014 6:16 PM
> To: dev@falcon.incubator.apache.org
> Subject: Re: Exception while submitting CLuster definition to Falcon Cluster
>
> Hi Sunil,
>
> I tried your cluster XML in my falcon installation without problem.
>
> Can you check that the different interfaces are on the address and port that you defined ?
>
> Thanks,
> Regards
> JB
>
> On 04/01/2014 01:30 PM, Sunil N Kumar wrote:
>> Please find below and this is also visible in Falcon UI:
>> <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <cluster
>> name="local1" description="Standalone cluster" colo="local1" xmlns="uri:falcon:cluster:0.1">
>> <interfaces>
>> <interface type="readonly" endpoint="hftp://192.168.41.106:50070" version="1.2.1"/>
>> <interface type="write" endpoint="hdfs://192.168.41.106:9000" version="1.2.1"/>
>> <interface type="execute" endpoint="192.168.41.106:9001" version="1.2.1"/>
>> <interface type="workflow" endpoint="http://192.168.41.106: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>
>>
>> Thanks and Regards.
>> Sunil Kumar
>>
>>
>>
>> -----Original Message-----
>> From: Samarth Gupta [mailto:samarthgupta007@gmail.com]
>> Sent: Tuesday, April 01, 2014 4:57 PM
>> To: dev@falcon.incubator.apache.org
>> Subject: Re: Exception while submitting CLuster definition to Falcon
>> Cluster
>>
>> 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 <su...@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.jav
>>> a
>>> :85)
>>>> at
>>>>
>>> org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$1.doEx
>>> e
>>> cute(SchedulableEntityManagerProxy.java:119)
>>>> at
>>>>
>>> org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$Entity
>>> P
>>> roxy.execute(SchedulableEntityManagerProxy.java:404)
>>>> at
>>>>
>>> org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit
>>> _
>>> aroundBody0(SchedulableEntityManagerProxy.java:121)
>>>> at
>>>>
>>> org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClo
>>> s
>>> ure1.run(SchedulableEntityManagerProxy.java:1)
>>>> at
>>>> org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
>>>> at
>>>>
>>> org.apache.falcon.aspect.AbstractFalconAspect.logAround(AbstractFalco
>>> n
>>> Aspect.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.
>>> j
>>> ava:39)
>>>> at
>>>>
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>>> s
>>> orImpl.java:25)
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>>
>>> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMe
>>> t
>>> hodInvokerFactory.java:60)
>>>> at
>>>>
>>> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMeth
>>> o
>>> dDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDisp
>>> a
>>> tchProvider.java:185)
>>>> at
>>>>
>>> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDi
>>> s
>>> patcher.dispatch(ResourceJavaMethodDispatcher.java:75)
>>>> at
>>>>
>>> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethod
>>> R
>>> ule.java:288)
>>>> at
>>>>
>>> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHa
>>> n
>>> dPathRule.java:147)
>>>> at
>>>>
>>> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(Resourc
>>> e
>>> ClassRule.java:108)
>>>> at
>>>>
>>> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHa
>>> n
>>> dPathRule.java:147)
>>>> at
>>>>
>>> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(R
>>> o
>>> otResourceClassesRule.java:84)
>>>> at
>>>>
>>> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequ
>>> e
>>> st(WebApplicationImpl.java:1469)
>>>> at
>>>>
>>> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequ
>>> e
>>> st(WebApplicationImpl.java:1400)
>>>> at
>>>>
>>> com.sun.jersey.server.impl.application.WebApplicationImpl.handleReque
>>> s
>>> t(WebApplicationImpl.java:1349)
>>>> at
>>>>
>>> com.sun.jersey.server.impl.application.WebApplicationImpl.handleReque
>>> s
>>> t(WebApplicationImpl.java:1339)
>>>> at
>>>>
>>> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponen
>>> t
>>> .java:416)
>>>> at
>>>>
>>> com.sun.jersey.spi.container.servlet.ServletContainer.service(Servlet
>>> C
>>> ontainer.java:537)
>>>> at
>>>>
>>> com.sun.jersey.spi.container.servlet.ServletContainer.service(Servlet
>>> C
>>> ontainer.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(Servlet
>>> H
>>> andler.java:1221)
>>>> at
>>>>
>>> org.apache.falcon.security.BasicAuthFilter.doFilter(BasicAuthFilter.j
>>> a
>>> va:88)
>>>> at
>>>>
>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
>>> H
>>> andler.java:1212)
>>>> at
>>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
>>>> at
>>>>
>>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav
>>> a
>>> :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(HttpConnectio
>>> n
>>> .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.
>>> j
>>> ava: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._invok
>>> e
>>> (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.
>>>
>>
>> ________________________________
>>
>>
>>
>>
>>
>>
>> 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.
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
> ________________________________
>
>
>
>
>
>
> 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.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
RE: Exception while submitting CLuster definition to Falcon Cluster
Posted by Sunil N Kumar <su...@impetus.co.in>.
Thanks everyone I am able to run same xml. There was issue in the startup.properties and runtime.properties files configurations.
Thanks and Regards.
Sunil Kumar
-----Original Message-----
From: Jean-Baptiste Onofré [mailto:jb@nanthrax.net]
Sent: Tuesday, April 01, 2014 6:16 PM
To: dev@falcon.incubator.apache.org
Subject: Re: Exception while submitting CLuster definition to Falcon Cluster
Hi Sunil,
I tried your cluster XML in my falcon installation without problem.
Can you check that the different interfaces are on the address and port that you defined ?
Thanks,
Regards
JB
On 04/01/2014 01:30 PM, Sunil N Kumar wrote:
> Please find below and this is also visible in Falcon UI:
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <cluster
> name="local1" description="Standalone cluster" colo="local1" xmlns="uri:falcon:cluster:0.1">
> <interfaces>
> <interface type="readonly" endpoint="hftp://192.168.41.106:50070" version="1.2.1"/>
> <interface type="write" endpoint="hdfs://192.168.41.106:9000" version="1.2.1"/>
> <interface type="execute" endpoint="192.168.41.106:9001" version="1.2.1"/>
> <interface type="workflow" endpoint="http://192.168.41.106: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>
>
> Thanks and Regards.
> Sunil Kumar
>
>
>
> -----Original Message-----
> From: Samarth Gupta [mailto:samarthgupta007@gmail.com]
> Sent: Tuesday, April 01, 2014 4:57 PM
> To: dev@falcon.incubator.apache.org
> Subject: Re: Exception while submitting CLuster definition to Falcon
> Cluster
>
> 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 <su...@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.jav
>> a
>> :85)
>>> at
>>>
>> org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$1.doEx
>> e
>> cute(SchedulableEntityManagerProxy.java:119)
>>> at
>>>
>> org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$Entity
>> P
>> roxy.execute(SchedulableEntityManagerProxy.java:404)
>>> at
>>>
>> org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit
>> _
>> aroundBody0(SchedulableEntityManagerProxy.java:121)
>>> at
>>>
>> org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClo
>> s
>> ure1.run(SchedulableEntityManagerProxy.java:1)
>>> at
>>> org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
>>> at
>>>
>> org.apache.falcon.aspect.AbstractFalconAspect.logAround(AbstractFalco
>> n
>> Aspect.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.
>> j
>> ava:39)
>>> at
>>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> s
>> orImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at
>>>
>> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMe
>> t
>> hodInvokerFactory.java:60)
>>> at
>>>
>> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMeth
>> o
>> dDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDisp
>> a
>> tchProvider.java:185)
>>> at
>>>
>> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDi
>> s
>> patcher.dispatch(ResourceJavaMethodDispatcher.java:75)
>>> at
>>>
>> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethod
>> R
>> ule.java:288)
>>> at
>>>
>> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHa
>> n
>> dPathRule.java:147)
>>> at
>>>
>> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(Resourc
>> e
>> ClassRule.java:108)
>>> at
>>>
>> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHa
>> n
>> dPathRule.java:147)
>>> at
>>>
>> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(R
>> o
>> otResourceClassesRule.java:84)
>>> at
>>>
>> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequ
>> e
>> st(WebApplicationImpl.java:1469)
>>> at
>>>
>> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequ
>> e
>> st(WebApplicationImpl.java:1400)
>>> at
>>>
>> com.sun.jersey.server.impl.application.WebApplicationImpl.handleReque
>> s
>> t(WebApplicationImpl.java:1349)
>>> at
>>>
>> com.sun.jersey.server.impl.application.WebApplicationImpl.handleReque
>> s
>> t(WebApplicationImpl.java:1339)
>>> at
>>>
>> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponen
>> t
>> .java:416)
>>> at
>>>
>> com.sun.jersey.spi.container.servlet.ServletContainer.service(Servlet
>> C
>> ontainer.java:537)
>>> at
>>>
>> com.sun.jersey.spi.container.servlet.ServletContainer.service(Servlet
>> C
>> ontainer.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(Servlet
>> H
>> andler.java:1221)
>>> at
>>>
>> org.apache.falcon.security.BasicAuthFilter.doFilter(BasicAuthFilter.j
>> a
>> va:88)
>>> at
>>>
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
>> H
>> andler.java:1212)
>>> at
>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
>>> at
>>>
>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav
>> a
>> :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(HttpConnectio
>> n
>> .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.
>> j
>> ava: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._invok
>> e
>> (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.
>>
>
> ________________________________
>
>
>
>
>
>
> 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.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
________________________________
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.
Re: Exception while submitting CLuster definition to Falcon Cluster
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Sunil,
I tried your cluster XML in my falcon installation without problem.
Can you check that the different interfaces are on the address and port
that you defined ?
Thanks,
Regards
JB
On 04/01/2014 01:30 PM, Sunil N Kumar wrote:
> Please find below and this is also visible in Falcon UI:
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <cluster name="local1" description="Standalone cluster" colo="local1" xmlns="uri:falcon:cluster:0.1">
> <interfaces>
> <interface type="readonly" endpoint="hftp://192.168.41.106:50070" version="1.2.1"/>
> <interface type="write" endpoint="hdfs://192.168.41.106:9000" version="1.2.1"/>
> <interface type="execute" endpoint="192.168.41.106:9001" version="1.2.1"/>
> <interface type="workflow" endpoint="http://192.168.41.106: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>
>
> Thanks and Regards.
> Sunil Kumar
>
>
>
> -----Original Message-----
> From: Samarth Gupta [mailto:samarthgupta007@gmail.com]
> Sent: Tuesday, April 01, 2014 4:57 PM
> To: dev@falcon.incubator.apache.org
> Subject: Re: Exception while submitting CLuster definition to Falcon Cluster
>
> 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 <su...@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.doExe
>> cute(SchedulableEntityManagerProxy.java:119)
>>> at
>>>
>> org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityP
>> roxy.execute(SchedulableEntityManagerProxy.java:404)
>>> at
>>>
>> org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit_
>> aroundBody0(SchedulableEntityManagerProxy.java:121)
>>> at
>>>
>> org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClos
>> ure1.run(SchedulableEntityManagerProxy.java:1)
>>> at
>>> org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
>>> at
>>>
>> org.apache.falcon.aspect.AbstractFalconAspect.logAround(AbstractFalcon
>> Aspect.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.j
>> ava:39)
>>> at
>>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
>> orImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at
>>>
>> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMet
>> hodInvokerFactory.java:60)
>>> at
>>>
>> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMetho
>> dDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispa
>> tchProvider.java:185)
>>> at
>>>
>> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDis
>> patcher.dispatch(ResourceJavaMethodDispatcher.java:75)
>>> at
>>>
>> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodR
>> ule.java:288)
>>> at
>>>
>> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHan
>> dPathRule.java:147)
>>> at
>>>
>> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(Resource
>> ClassRule.java:108)
>>> at
>>>
>> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHan
>> dPathRule.java:147)
>>> at
>>>
>> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(Ro
>> otResourceClassesRule.java:84)
>>> at
>>>
>> com.sun.jersey.server.impl.application.WebApplicationImpl._handleReque
>> st(WebApplicationImpl.java:1469)
>>> at
>>>
>> com.sun.jersey.server.impl.application.WebApplicationImpl._handleReque
>> st(WebApplicationImpl.java:1400)
>>> at
>>>
>> com.sun.jersey.server.impl.application.WebApplicationImpl.handleReques
>> t(WebApplicationImpl.java:1349)
>>> at
>>>
>> com.sun.jersey.server.impl.application.WebApplicationImpl.handleReques
>> t(WebApplicationImpl.java:1339)
>>> at
>>>
>> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent
>> .java:416)
>>> at
>>>
>> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletC
>> ontainer.java:537)
>>> at
>>>
>> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletC
>> ontainer.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(ServletH
>> andler.java:1221)
>>> at
>>>
>> org.apache.falcon.security.BasicAuthFilter.doFilter(BasicAuthFilter.ja
>> va:88)
>>> at
>>>
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletH
>> andler.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.j
>> ava: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.
>>
>
> ________________________________
>
>
>
>
>
>
> 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.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
RE: Exception while submitting CLuster definition to Falcon Cluster
Posted by Sunil N Kumar <su...@impetus.co.in>.
Please find below and this is also visible in Falcon UI:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cluster name="local1" description="Standalone cluster" colo="local1" xmlns="uri:falcon:cluster:0.1">
<interfaces>
<interface type="readonly" endpoint="hftp://192.168.41.106:50070" version="1.2.1"/>
<interface type="write" endpoint="hdfs://192.168.41.106:9000" version="1.2.1"/>
<interface type="execute" endpoint="192.168.41.106:9001" version="1.2.1"/>
<interface type="workflow" endpoint="http://192.168.41.106: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>
Thanks and Regards.
Sunil Kumar
-----Original Message-----
From: Samarth Gupta [mailto:samarthgupta007@gmail.com]
Sent: Tuesday, April 01, 2014 4:57 PM
To: dev@falcon.incubator.apache.org
Subject: Re: Exception while submitting CLuster definition to Falcon Cluster
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 <su...@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.doExe
> cute(SchedulableEntityManagerProxy.java:119)
> > at
> >
> org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityP
> roxy.execute(SchedulableEntityManagerProxy.java:404)
> > at
> >
> org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit_
> aroundBody0(SchedulableEntityManagerProxy.java:121)
> > at
> >
> org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClos
> ure1.run(SchedulableEntityManagerProxy.java:1)
> > at
> > org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
> > at
> >
> org.apache.falcon.aspect.AbstractFalconAspect.logAround(AbstractFalcon
> Aspect.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.j
> ava:39)
> > at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMet
> hodInvokerFactory.java:60)
> > at
> >
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMetho
> dDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispa
> tchProvider.java:185)
> > at
> >
> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDis
> patcher.dispatch(ResourceJavaMethodDispatcher.java:75)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodR
> ule.java:288)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHan
> dPathRule.java:147)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(Resource
> ClassRule.java:108)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHan
> dPathRule.java:147)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(Ro
> otResourceClassesRule.java:84)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleReque
> st(WebApplicationImpl.java:1469)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleReque
> st(WebApplicationImpl.java:1400)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleReques
> t(WebApplicationImpl.java:1349)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleReques
> t(WebApplicationImpl.java:1339)
> > at
> >
> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent
> .java:416)
> > at
> >
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletC
> ontainer.java:537)
> > at
> >
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletC
> ontainer.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(ServletH
> andler.java:1221)
> > at
> >
> org.apache.falcon.security.BasicAuthFilter.doFilter(BasicAuthFilter.ja
> va:88)
> > at
> >
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletH
> andler.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.j
> ava: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.
>
________________________________
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.
Re: Exception while submitting CLuster definition to Falcon Cluster
Posted by Samarth Gupta <sa...@gmail.com>.
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 <su...@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.
>
RE: Exception while submitting CLuster definition to Falcon Cluster
Posted by Sunil N Kumar <su...@impetus.co.in>.
Moreover Cluster definition is Visible in the UI:
Thanks and Regards.
Sunil Kumar
-----Original Message-----
From: Sunil N Kumar
Sent: Tuesday, April 01, 2014 4:49 PM
To: dev@falcon.incubator.apache.org
Subject: RE: Exception while submitting CLuster definition to Falcon Cluster
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 <su...@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.
________________________________
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.
RE: Exception while submitting CLuster definition to Falcon Cluster
Posted by Sunil N Kumar <su...@impetus.co.in>.
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 <su...@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.
Re: Exception while submitting CLuster definition to Falcon Cluster
Posted by Samarth Gupta <sa...@gmail.com>.
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 <su...@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.java: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.
>