[
https://issues.apache.org/jira/browse/AMBARI-14679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15102624#comment-15102624
]
Swapan Shridhar commented on AMBARI-14679:
------------------------------------------
Following fix has been done.
- Added the YARN property (yarn.nodemanager.aux-services,
yarn.nodemanager.aux-services.spark_shuffle.class) dependency on property
(spark.yarn.queue).
- Fixed the 2.4/stack_advisor code to add "spark_shuffle" value only if it
doesnt exist in property "yarn.nodemanager.aux-services".
> When Spark is added later to a cluster with YARN deployed then yarn-site is
> not modified
> ----------------------------------------------------------------------------------------
>
> Key: AMBARI-14679
> URL: https://issues.apache.org/jira/browse/AMBARI-14679
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.2.1
> Reporter: Swapan Shridhar
> Assignee: Swapan Shridhar
> Priority: Critical
> Fix For: 2.2.1
>
> Attachments: AMBARI-14679.patch
>
>
> If Spark is added to an existing cluster with YARN using HDP 2.4, then
> yarn-site:yarn.nodemanager.aux-services is not modified to include
> spark_shuffle.
> Recommendation show is :
> {code}
> Recommendations:
> {'yarn.timeline-service.entity-group-fs-store.group-id-plugin-classes': '',
> 'yarn.nodemanager.container-executor.class':
> 'org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor',
> 'yarn.nodemanager.aux-services.spark_shuffle.class':
> 'org.apache.spark.network.yarn.YarnShuffleService',
> 'yarn.scheduler.minimum-allocation-vcores': '1',
> 'yarn.scheduler.maximum-allocation-vcores': '1',
> 'yarn.nodemanager.resource.memory-mb': '1024',
> 'yarn.scheduler.minimum-allocation-mb': '341',
> 'yarn.nodemanager.resource.cpu-vcores': '1', 'yarn.nodemanager.aux-services':
> 'mapreduce_shuffle, 'yarn.scheduler.maximum-allocation-mb': '1024',
> 'yarn.nodemanager.linux-container-executor.group': 'hadoop'}
> {code}
> But with SPARK added, it should be :
> {code}
> 'yarn.nodemanager.aux-services': 'mapreduce_shuffle,spark_shuffle'
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)