Where are the hadoop-examples* and hadoop-test* jars in Cloudera CDH?

StephenBoesch picture StephenBoesch · May 1, 2013 · Viewed 22k times · Source

I am looking for the jar files to be able to run the hadoop jobs associated with the examples and test jars. In the past they were under /usr/lib/hadoop, but apparently no longer. Pointers appreciated.

Note: this question was originally for CDH4.2. But some answers include info for later versions

Answer

alex picture alex · Sep 10, 2014
find / -name hadoop-mapreduce-examples*.jar

/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples-2.0.0-cdh4.7.0.jar

/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar