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)?

asked Apr 18, 2014 by Eric Z Ma (44,280 points)

1 Answer

 
Best answer

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.

answered Apr 18, 2014 by Eric Z Ma (44,280 points)
selected Apr 20, 2014 by Eric Z Ma

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...