How to add external library to Hadoop map-reduce task How to add external library to Hadoop map-reduce task hadoop hadoop

How to add external library to Hadoop map-reduce task


As I commented, I see two options (there could be more):

  1. Use Eclipse and generate a runnable jar (I am not sure about NetBeans or IntelliJ).

  2. Use maven and its shade plugin to generate an uber jar. You should add all the external libraries that you use as dependencies.

I recommend the latter option.