Tracking java calls from JNI A thread local variable tsRecentJMFromJNI is introduced to track the recent java method called from the JNI. When the core dumps are analyzed, this variable can be printed out to figure out the recent hbase call that possibly didn't respond.
Avoid unnecessary memory allocation while logging via log4cpp log4cpp.getInstance method takes in std::string argument. Wven the caller passes in const char *, a std::string instance is created. Changed code to pass std::string object from all callers to avoid memory allocation from system heap