AnsweredAssumed Answered

Libhdfs/libmaprclient multithreading

Question asked by weizzj on Apr 23, 2015
Latest reply on Apr 24, 2015 by weizzj
I am running 3.1.1, and doing map output collector in c++ via JNI, c++ code implements a thread pool to write MOFs to maprfs.


1 if I link with, hdfsConnect will crash
2 if I link with, all API calls went through except hdfsCloseFile, it looks hung and never return, hence memory hog or leak. There is no problem If I ran single thread.

Thanks by advance,