Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
0.98.2
-
None
-
None
-
hadoop-cdh5, hbase-0.98.2, thrift-0.9.0
Description
When using ThriftServer as a gateway for php & c/c++ applications, I found it very easy to crash of OOME. I analyzed the jprof file and found that the ThriftServer had a 1.2G size byte array before it crashed. It seems to be a memory leak. But when did it happen? I checked the huge byte array and realized that it was a HTTP request string. That means a request in protocols other than Thrift may cause memory allocation exception.
We cound easily recur the bug by wget/curl the ThriftServer. And we can check the memory usage infomation using TOP command.
Attachments
Attachments
Issue Links
- duplicates
-
HBASE-11052 Sending random data crashes thrift service
- Closed