Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Yarn Distributed Shell - MapReduce job

Solved Go to solution
Highlighted

Yarn Distributed Shell - MapReduce job

Super Guru

I am not able to specify a nodel label when I submit my mapreduce job. Only yarn distributed shell job are allowed for node labels. How to run run the mapreduce job as yarn distributed shell job?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Yarn Distributed Shell - MapReduce job

Expert Contributor

True Node Label support for Map Reduce will first be available in Hadoop Core 2.8 according to https://issues.apache.org/jira/browse/MAPREDUCE-6304.

A trick to use Node Labels with MR is to submit the MR job to a queue that has a default node label expression and the default node label will be applied to the MR job.

However using default node label expressions tends to constrain portions of the cluster, which at some point starts to become counter-productive for jobs -- such as MR jobs -- that benefit from the advantages offered by distributed parallel processing.

Also YARN distributed shell is an example YARN application on how to develop YARN jobs without Map Reduce.

2 REPLIES 2

Re: Yarn Distributed Shell - MapReduce job

Expert Contributor

True Node Label support for Map Reduce will first be available in Hadoop Core 2.8 according to https://issues.apache.org/jira/browse/MAPREDUCE-6304.

A trick to use Node Labels with MR is to submit the MR job to a queue that has a default node label expression and the default node label will be applied to the MR job.

However using default node label expressions tends to constrain portions of the cluster, which at some point starts to become counter-productive for jobs -- such as MR jobs -- that benefit from the advantages offered by distributed parallel processing.

Also YARN distributed shell is an example YARN application on how to develop YARN jobs without Map Reduce.

Re: Yarn Distributed Shell - MapReduce job

Super Guru

@Mats Johansson Understood. However core of services like hive/pig use map reduce. Does that have the same constraints for node labeling? it seems node labeling is only applicable to storm/spark/kafka/hbase/etc. Services which do not use map reduce as its engine.

Don't have an account?
Coming from Hortonworks? Activate your account here