You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by jason Yang <li...@gmail.com> on 2012/05/23 09:47:46 UTC

Would I call DLL in the hadoop-version MR?

Hi,

Currently, I'm trying to rewrite an algorithm into a parallel form. Since
the algorithm depends on lots of third-party DLLs, I was wondering would I
call the DLL written in C++ in the Hadoop-version MapReduce by using JNI?

Thanks.

-- 
YANG, Lin

Re: Would I call DLL in the hadoop-version MR?

Posted by Vinod Kumar Vavilapalli <vi...@hortonworks.com>.
Yes, JNI should be good. Or you could go the hadoop pipes way - writing your MR apps in C++ and add the DLLs as dependencies distributed via distributed-cache.

HTH,
+Vinod


On May 23, 2012, at 12:47 AM, jason Yang wrote:

> Hi,
> 
> Currently, I'm trying to rewrite an algorithm into a parallel form. Since
> the algorithm depends on lots of third-party DLLs, I was wondering would I
> call the DLL written in C++ in the Hadoop-version MapReduce by using JNI?
> 
> Thanks.
> 
> -- 
> YANG, Lin