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] [Updated] (ACCUMULO-2897) Thrift proxy in Accumulo throws
out of memory error on malformed request
[ https://issues.apache.org/jira/browse/ACCUMULO-2897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joseph L Howard updated ACCUMULO-2897:
--------------------------------------
Description:
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:proxyport "Hi"
Proxy will crash with OOM.
was:
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.
> 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
> Labels: Accumulo, Memory, Proxy, Thrift, error
> Original Estimate: 120h
> Remaining Estimate: 120h
>
> 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:proxyport "Hi"
> Proxy will crash with OOM.
--
This message was sent by Atlassian JIRA
(v6.2#6252)