falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Slysh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1012) Add support for MapR-FS
Date Wed, 11 Feb 2015 17:32:14 GMT

    [ https://issues.apache.org/jira/browse/FALCON-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14316598#comment-14316598
] 

Roman Slysh commented on FALCON-1012:
-------------------------------------

In case to change write and read endpoints to maprfs:///  I am getting the following error:

{panel}
2015-02-11 12:20:21,585 INFO  - [1976330738@qtp-1446607867-0 - 8d7aabfc-3be9-447f-a29f-467d4383a90b:mapr:POST//entities/submit/cluster]
~ Logging in mapr (CurrentUser:63)
2015-02-11 12:20:21,586 INFO  - [1976330738@qtp-1446607867-0 - 8d7aabfc-3be9-447f-a29f-467d4383a90b:mapr:POST//entities/submit/cluster]
~ Request from authenticated user: mapr, URL=/api/entities/submit/cluster (FalconAuthenticationFilter:181)
2015-02-11 12:20:21,595 INFO  - [1976330738@qtp-1446607867-0 - 8d7aabfc-3be9-447f-a29f-467d4383a90b:mapr:POST//entities/submit/cluster]
~ Parsed Entity: local (EntityParser:94)
2015-02-11 12:20:21,596 DEBUG - [1976330738@qtp-1446607867-0 - 8d7aabfc-3be9-447f-a29f-467d4383a90b:mapr:POST//entities/submit/cluster]
~ Invoking method submit on service org.apache.falcon.resource.ConfigSyncService (IPCChannel:45)
2015-02-11 12:20:21,610 INFO  - [1976330738@qtp-1446607867-0 - 8d7aabfc-3be9-447f-a29f-467d4383a90b:mapr:POST//entities/submit/cluster]
~ Parsed Entity: local (EntityParser:94)
2015-02-11 12:20:21,612 INFO  - [1976330738@qtp-1446607867-0 - 8d7aabfc-3be9-447f-a29f-467d4383a90b:mapr:POST//entities/submit/cluster]
~ Validating read interface: maprfs: (ClusterEntityParser:99)
2015-02-11 12:20:21,692 ERROR - [1976330738@qtp-1446607867-0 - 8d7aabfc-3be9-447f-a29f-467d4383a90b:mapr:POST//entities/submit/cluster]
~ Unable to persist entity object (AbstractEntityManager:190)
org.apache.falcon.entity.parser.ValidationException: Invalid storage server or port: maprfs:
	at org.apache.falcon.entity.parser.ClusterEntityParser.validateFileSystem(ClusterEntityParser.java:127)
	at org.apache.falcon.entity.parser.ClusterEntityParser.validateReadInterface(ClusterEntityParser.java:101)
	at org.apache.falcon.entity.parser.ClusterEntityParser.validate(ClusterEntityParser.java:78)
	at org.apache.falcon.entity.parser.ClusterEntityParser.validate(ClusterEntityParser.java:52)
	at org.apache.falcon.resource.AbstractEntityManager.validate(AbstractEntityManager.java:450)
	at org.apache.falcon.resource.AbstractEntityManager.submitInternal(AbstractEntityManager.java:363)
	at org.apache.falcon.resource.AbstractEntityManager.submit(AbstractEntityManager.java:187)
	at org.apache.falcon.resource.ConfigSyncService.submit(ConfigSyncService.java:44)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.falcon.resource.channel.IPCChannel.invoke(IPCChannel.java:49)
	at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$1.doExecute(SchedulableEntityManagerProxy.java:128)
	at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityProxy.execute(SchedulableEntityManagerProxy.java:462)
	at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit_aroundBody0(SchedulableEntityManagerProxy.java:130)
	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.logAroundMonitored(AbstractFalconAspect.java:51)
	at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit(SchedulableEntityManagerProxy.java:108)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
	at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
	at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
	at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
	at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
	at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
	at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
	at org.apache.falcon.security.FalconAuthorizationFilter.doFilter(FalconAuthorizationFilter.java:106)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
	at org.apache.falcon.security.FalconAuthenticationFilter$2.doFilter(FalconAuthenticationFilter.java:184)
	at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:446)
	at org.apache.falcon.security.FalconAuthenticationFilter.doFilter(FalconAuthenticationFilter.java:193)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
	at org.apache.falcon.security.FalconAuditFilter.doFilter(FalconAuditFilter.java:64)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
	at org.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.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:713)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: org.apache.falcon.FalconException: Exception while getting FileSystem for: maprfs:
	at org.apache.falcon.hadoop.HadoopClientFactory.createProxiedFileSystem(HadoopClientFactory.java:129)
	at org.apache.falcon.entity.parser.ClusterEntityParser.validateFileSystem(ClusterEntityParser.java:125)
	... 64 more
Caused by: java.net.URISyntaxException: Expected scheme-specific part at index 7: maprfs:
	at java.net.URI$Parser.fail(URI.java:2829)
	at java.net.URI$Parser.failExpecting(URI.java:2835)
	at java.net.URI$Parser.parse(URI.java:3038)
	at java.net.URI.<init>(URI.java:595)
	at org.apache.falcon.hadoop.HadoopClientFactory.createProxiedFileSystem(HadoopClientFactory.java:127)
	... 65 more
2015-02-11 12:20:21,697 ERROR - [1976330738@qtp-1446607867-0 - 8d7aabfc-3be9-447f-a29f-467d4383a90b:mapr:POST//entities/submit/cluster]
~ Action failed: Bad Request
{panel}

> Add support for MapR-FS
> -----------------------
>
>                 Key: FALCON-1012
>                 URL: https://issues.apache.org/jira/browse/FALCON-1012
>             Project: Falcon
>          Issue Type: New Feature
>          Components: hadoop, oozie
>    Affects Versions: 0.7
>         Environment: single node mapr 4.0.1 cluster.
> mapr-oozie 4.0.1
>            Reporter: Roman Slysh
>         Attachments: falcon.application.log, standalone-cluster.xml
>
>
> Getting error when trying to submit and schedule the oozie process:
> $ bin/falcon entity -submitAndSchedule -type process -file examples/entity/filesystem/oozie-mr-process.xml
> Getting wrong conf parameter:
> nameNode=maprfs:/localhost:722



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message