falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murali Ramasami (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FALCON-2048) Cluster submission failed in yarn-cluster mode
Date Wed, 22 Jun 2016 23:57:16 GMT
Murali Ramasami created FALCON-2048:
---------------------------------------

             Summary: Cluster submission failed in yarn-cluster mode
                 Key: FALCON-2048
                 URL: https://issues.apache.org/jira/browse/FALCON-2048
             Project: Falcon
          Issue Type: Bug
          Components: general
    Affects Versions: 0.10
            Reporter: Murali Ramasami
            Priority: Critical
             Fix For: 0.10


When trying to submit the cluster entity with spark endpoint in yarn-cluster mode, it is failed
with the following error:

{noformat}
org.apache.spark.SparkException: Detected yarn-cluster mode, but isn't running on a cluster.
Deployment to YARN is not supported directly by SparkContext. Please use spark-submit.
{noformat}

Cluster :
{noformat}

hrt_qa@mramasami-oozie-testcluster-5:/grid/0/hadoopqe/falcon-spark$ cat cluster.xml
<?xml version="1.0" encoding="UTF-8"?>
<cluster xmlns="uri:falcon:cluster:0.1" name="PrimaryCluster" description="" colo="default">
    <interfaces>
        <interface type="readonly" endpoint="webhdfs://mramasami-oozie-testcluster-5.openstacklocal:20070"
version="0.20.2"/>
        <interface type="write" endpoint="hdfs://mramasami-oozie-testcluster-5.openstacklocal:8020"
version="0.20.2"/>
        <interface type="execute" endpoint="mramasami-oozie-testcluster-5.openstacklocal:8050"
version="0.20.2"/>
        <interface type="workflow" endpoint="http://mramasami-oozie-testcluster-3.openstacklocal:11000/oozie/"
version="3.1"/>
        <interface type="messaging" endpoint="tcp://mramasami-oozie-testcluster-3.openstacklocal:61616?daemon=true"
version="5.1.6"/>
        <interface type="registry" endpoint="thrift://mramasami-oozie-testcluster-3.openstacklocal:9083"
version="0.11.0"/>
         <interface type="spark" endpoint="yarn-cluster" version="1.6.1"/>
    </interfaces>
    <locations>
        <location name="staging" path="/tmp/fs"/>
        <location name="working" path="/tmp/fw"/>
        <location name="temp" path="/tmp"/>
    </locations>
    <ACL owner="hrt_qa" group="users" permission="0x755"/>
    <properties>
        <property name="hive.metastore.client.socket.timeout" value="120"/>
        <property name="hadoop.rpc.protection" value="authentication"/>
        <property name="hive.metastore.uris" value="thrift://mramasami-oozie-testcluster-3.openstacklocal:9083"/>
        <property name="hive.server2.uri" value="hive2://mramasami-oozie-testcluster-3.openstacklocal:10000"/>
    </properties>
</cluster>
{noformat}

Complete Stack Trace:
{noformat}
016-06-20 19:45:15,424 ERROR - [1377613133@qtp-1811922029-20 - 9e879830-e6dc-4565-8b82-150b01f3a144:hrt_qa:POST//entities/submit/cluster]
~ Unable to persist entity object (AbstractEntityManager:208)
org.apache.spark.SparkException: Detected yarn-cluster mode, but isn't running on a cluster.
Deployment to YARN is not supported directly by SparkContext. Please use spark-submit.
	at org.apache.spark.SparkContext.<init>(SparkContext.scala:411)
	at org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:59)
	at org.apache.falcon.entity.parser.ClusterEntityParser.validateSparkMasterInterface(ClusterEntityParser.java:244)
	at org.apache.falcon.entity.parser.ClusterEntityParser.validate(ClusterEntityParser.java:99)
	at org.apache.falcon.entity.parser.ClusterEntityParser.validate(ClusterEntityParser.java:62)
	at org.apache.falcon.resource.AbstractEntityManager.validate(AbstractEntityManager.java:690)
	at org.apache.falcon.resource.AbstractEntityManager.submitInternal(AbstractEntityManager.java:615)
	at org.apache.falcon.resource.AbstractEntityManager.submitInternal(AbstractEntityManager.java:541)
	at org.apache.falcon.resource.AbstractEntityManager.submit(AbstractEntityManager.java:205)
	at org.apache.falcon.resource.ConfigSyncService.submit(ConfigSyncService.java:52)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.falcon.resource.channel.IPCChannel.invoke(IPCChannel.java:49)
	at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$2.doExecute(SchedulableEntityManagerProxy.java:176)
	at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityProxy.execute(SchedulableEntityManagerProxy.java:841)
	at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit_aroundBody2(SchedulableEntityManagerProxy.java:178)
	at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClosure3.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:156)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	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:108)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
	at org.apache.falcon.security.FalconAuthenticationFilter$2.doFilter(FalconAuthenticationFilter.java:188)
	at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:614)
	at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:573)
	at org.apache.falcon.security.FalconAuthenticationFilter.doFilter(FalconAuthenticationFilter.java:197)
	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.apache.falcon.security.HostnameFilter.doFilter(HostnameFilter.java:82)
	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:767)
	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:218)
	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)
2016-06-20 19:45:15,425 INFO  - [1377613133@qtp-1811922029-20 - 9e879830-e6dc-4565-8b82-150b01f3a144:hrt_qa:POST//entities/submit/cluster]
~ {Action:submit, Dimensions:{colo=NULL, entityType=cluster}, Status: FAILED, Time-taken:876814779
ns} (METRIC:38)
{noformat}




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

Mime
View raw message