You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Russ Weeks (JIRA)" <ji...@apache.org> on 2014/04/10 22:30:18 UTC

[jira] [Created] (ACCUMULO-2658) Thrift Proxy crashes with OOM on bad input

Russ Weeks created ACCUMULO-2658:
------------------------------------

             Summary: Thrift Proxy crashes with OOM on bad input
                 Key: ACCUMULO-2658
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2658
             Project: Accumulo
          Issue Type: Bug
          Components: proxy
    Affects Versions: 1.5.1
            Reporter: Russ Weeks


The proxy server doesn't benefit from the fix for ACCUMULO-2360 because it doesn't use the TServerUtils class to set up the thrift server.

The smallest fix is really easy: just add the line:
{code}
args.maxReadBufferBytes = maxFrameSize;
{code}
to o.a.a.proxy.Proxy.createProxyServer.

I guess a more comprehensive fix would be to convert Proxy to use TServerUtils, but that's a little beyond me at this point.



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