Hi!

On Sat, Oct 25, 2008 at 6:48 PM, lamfeeling <[EMAIL PROTECTED]> wrote:
>
>
>
>  Dear all:
>    I'm a new guy to hadoop, and I want to immigrate my existing project (by 
> C++ ) to Hadoop using JNI.
>    All the feature seems OK, except one method.
>    When it is invoked, hadoop gives me a error message, which is : bad_alloc.
>    I googled this message, it tells me, this is a common problem when your 
> memory is used up, but my memory is not full yet.
>
>    Are there some limitations of memory in Haoop? Especially when using JNI 
> methods?
>
>    This program has been tested millions of times, so the problem should not 
> be in my C++ program.
>    Could anyone give me a answer? Thanks a lot!!

Consider using 'Pipes':
http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/mapred/pipes/package-summary.html

-Amit

-- 
Amit Kumar Saha
http://blogs.sun.com/amitsaha/
http://amitsaha.in.googlepages.com/
Skype: amitkumarsaha

Reply via email to