Hadoop accessing 3rd party libraries from local file system of a Hadoop node
I have a jar file on all my Hadoop nodes at /home/ubuntu/libs/javacv-0.9.jar , with some other jar files. When my MapReduce application is executing on Hadoop nodes, I am getting this exception java.io.FileNotFoundException: File does not exist hdfs://192.168.0.18:50000/home/ubuntu/libs/javacv-0.9.jar How can I resolve this exception? How can my jar running in Hadoop access 3rd party libraries from the local file system of the Hadoop node? Paulo Fidalgo You need to copy your file to HDFS and not to the local filesystem. To copy files to HDFS you need to use: hadoop fs -put localfile hdfsPath