Setting an additional class path for the hadoop tool

How can I dynamically configure an additional class path so that banks are accessible from the hadoop tool class? I carry out my work through the "bank of chaos." I need something like the "-libjars" switch, which, unfortunately, works only for cartographers and reducers, and my tool implementations do not see the banks provided by "libjars"

export "HADOOP_CLASSPATH = $ HADOOP_CLASSPATH: /path/to/my.jar & hadoop jar ..." seems to make "my.jar" available to the Tool, but then the libraries that are inside the work flag in the "/ lib" folder become inaccessible.

+5
source share
1 answer

, , Hadoop, export HADOOP_USER_CLASSPATH_FIRST=true. , -.

+2

All Articles