You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Joseph L Howard (JIRA)" <ji...@apache.org> on 2014/06/12 19:17:02 UTC

[jira] [Created] (ACCUMULO-2897) Thrift proxy in Accumulo throws out of memory error on malformed request

Joseph L Howard created ACCUMULO-2897:
-----------------------------------------

             Summary: Thrift proxy in Accumulo throws out of memory error on malformed request
                 Key: ACCUMULO-2897
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2897
             Project: Accumulo
          Issue Type: Bug
          Components: proxy
    Affects Versions: 1.6.0
         Environment: Oracle Java 1.7.0_60, Accumulo 1.6, Hadoop 2.2 Zookeeper on Centos
            Reporter: Joseph L Howard


Thrift libraries have a well known Jira problem where malformed requests (e.g. curl) throw an Out of memory error on malformed requests. Length limit checks (possibly JIRA THRIFT-2572 issue Add string/collection length limit checks (from C++) to java.) 

This is likely TBinaryProtocol. 

----------------------------------------------------------------------
Replicating the issue: 
1) start Accumulo proxy "./accumulo proxy -p ../proxy/proxy.properties 
2) curl -get localhost:procyport "Hi"

Proxy will crash with OOM. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)