Classpath for compiling MapReduce jobs on Hadoop 2.2.0

How to get the correct classpath for compiling MapReduce jobs on Hadoop 2.2.0 (YARN)?

The yarn command from Hadoop 2 can find it out for you:

yarn classpath

You may add the full path to yarn which is under bin directory of the Hadoop distribution pachage, if it is not in your $PATH.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *