Hi,I am trying to run some unit tests for mapper and reducer using JUnit and mockito.Do I have to specify the location of the Hadoop core and commons jar files in classpath everytime I run a test?.I thought running the "Hadoop" command was supposed to automatically include all the required libraries at runtime. Is there any way to avoid typing the Hadoop dependencies every time?.
hadoop -cp /home/xxx/Downloads/mockito-all-1.9.5.jar:/home/xxx/Downloads/junit-4.10.jar:/home/xxx/Downloads/hadoop-1.1.1/hadoop-core-1.1.1.jar:./classes:.:/home/xxx/Downloads/hadoop-1.1.1/lib/commons-logging-1.1.1.jar org.junit.runner.JUnitCore MaxTemperatureMapperTest
Thank YouHoney Asin