[ 
https://issues.apache.org/jira/browse/AMBARI-22898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vitaly Brodetskyi updated AMBARI-22898:
---------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed to AMBARI-2.7.0.0

> spark2_shuffle is not present inside yarn.nodemanager.aux-services
> ------------------------------------------------------------------
>
>                 Key: AMBARI-22898
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22898
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.7.0
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>            Priority: Blocker
>             Fix For: 2.7.0
>
>         Attachments: AMBARI-22898.patch
>
>
> I saw a couple of tests have failed . In these tests we had setup 
> 'spark.dynamicAllocation.enabled': 'true', 'spark.shuffle.service.enabled': 
> 'true'
> The yarn application logs are showing following error while launching 
> containers:
> {code:java}
> 18/01/12 22:03:52 INFO YarnAllocator: Received 3 containers from YARN, 
> launching executors on 3 of them.
> 18/01/12 22:03:52 ERROR YarnAllocator: Failed to launch executor 3 on 
> container container_e04_1515724290515_0078_08_000004
> org.apache.spark.SparkException: Exception while starting container 
> container_e04_1515724290515_0078_08_000004 on host 
> ctr-e137-1514896590304-9678-01-000006.hwx.site
>  at 
> org.apache.spark.deploy.yarn.ExecutorRunnable.startContainer(ExecutorRunnable.scala:125)
>  at 
> org.apache.spark.deploy.yarn.ExecutorRunnable.run(ExecutorRunnable.scala:65)
>  at 
> org.apache.spark.deploy.yarn.YarnAllocator$$anonfun$runAllocatedContainers$1$$anon$1.run(YarnAllocator.scala:533)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  at java.lang.Thread.run(Thread.java:748)
> Caused by: org.apache.hadoop.yarn.exceptions.InvalidAuxServiceException: The 
> auxService:spark2_shuffle does not exist
>  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>  at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>  at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>  at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>  at 
> org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.instantiateExceptionImpl(SerializedExceptionPBImpl.java:171)
>  at 
> org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.instantiateException(SerializedExceptionPBImpl.java:182)
>  at 
> org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.deSerialize(SerializedExceptionPBImpl.java:106)
>  at 
> org.apache.hadoop.yarn.client.api.impl.NMClientImpl.startContainer(NMClientImpl.java:211)
>  at 
> org.apache.spark.deploy.yarn.ExecutorRunnable.startContainer(ExecutorRunnable.scala:122)
>  ... 5 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to