Classpath for compiling MapReduce jobs on Hadoop 2.2.0

Posted on In QA

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.

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published.