For our JNI tasks, we just install our libraries in the same places on each machine, and set the LD_LIBRARY_PATH to include these directories, in hadoop-env.sh.

This does require a restart of the mapred portion of the cluster if you need to change the LD_LIBRARY_PATH.

Chang Hu wrote:
I believe both static and dynamic libraries can be make via gcc.  Is there a
difference and where should I put them in Hadoop?

Thanks,

 - Chang

On Sat, Feb 23, 2008 at 10:28 AM, 11 Nov. <[EMAIL PROTECTED]> wrote:

Are your external C++ libraries statically linked?

2008/2/22, Chang Hu <[EMAIL PROTECTED]>:
Hi,

I have an image processing library in C++ and want to run it as a
MapReduce
job via JNI. While I have some idea about how to include an external JAR
into MapReduce, I am not sure how that works with external C++
libraries.
It could be easier to use HadoopStreaming, but I am not sure how to do
that,
either.

Suggestions?

Thanks,

  - Chang

--
---------------
Überstehen ist alles.



Chang Hu
Ph.D. student
Computer Science Department
University of Maryland





--
Jason Venner
Attributor - Publish with Confidence <http://www.attributor.com/>
Attributor is hiring Hadoop Wranglers, contact if interested

Reply via email to