We are doing that with *.so (linux binary) on cluster.  We are using the 
approach described here 
http://hadoop.apache.org/common/docs/current/native_libraries.html

On the testing local mode (in windows), I just put *.dll into the PATH. 
And everything works. 

Zhu, Guojun
Modeling Sr Graduate
571-3824370
guojun_...@freddiemac.com
Financial Engineering
Freddie Mac



   jason Yang <lin.yang.ja...@gmail.com> 
   05/23/2012 05:37 AM
   Please respond to
mapreduce-user@hadoop.apache.org


To
mapreduce-user@hadoop.apache.org
cc

Subject
Would I call a DLL in MR by using JNI






Hi, All~

Currently, I'm trying to rewrite an algorithm to MapReduce form. Since the 
algorithm depends on some third-party DLLs which are written in C++, I was 
wondering would I call a DLL in the Map() / Reduce() by using JNI?

Thanks.

-- 
YANG, Lin

Reply via email to