You can set mapred.child.env on the JobConf before you submit the job.
If you want to add to the PATH, you can set to something like:
PATH=$PATH:/directory/with/dlls
-Joey
On Mon, Aug 8, 2011 at 5:04 PM, Curtis Jensen wrote:
> Is it possible to set the MS. Windows PATH environment variable for
Is it possible to set the MS. Windows PATH environment variable for Mapper
classes?
I have maps that depend on JNI and I need to set the PATH so that the .dlls
can be found. The PATH can't be inherited from main, because it is running
from within Tomcat and I don't have control over its start up.