falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Exception while submitting CLuster definition to Falcon Cluster
Date Tue, 01 Apr 2014 13:27:42 GMT
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 <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.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

Mime
View raw message