How can i target the mapreduce and spark jobs to a set of nodes associated with nodeLabels.
The blog says specify -Dmapreduce.job.node-label-expression=<node label> for MapReduce Jobs.
On spark, If an application is running on YARN client mode, it is documented as to use spark-submit --conf spark.yarn.executor.nodeLabelExpression=<node label>
Both of them do not work on latest HWX 2.5. Appreciate any help on this.
https://issues.apache.org/jira/browse/MAPREDUCE-6304 from this we can know that the feature landed in HDP 2.6 version.
Please upgrade your version to HDP 2.6
More instructions on upgrade - https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_command-line-upgrade/content/ch_upgrade_...