Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 54CA311309 for ; Thu, 12 Jun 2014 18:19:04 +0000 (UTC) Received: (qmail 82101 invoked by uid 500); 12 Jun 2014 18:19:04 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 82037 invoked by uid 500); 12 Jun 2014 18:19:03 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 81966 invoked by uid 99); 12 Jun 2014 18:19:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2014 18:19:03 +0000 Date: Thu, 12 Jun 2014 18:19:03 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2897) Thrift proxy in Accumulo throws out of memory error on malformed request MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-2897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14029545#comment-14029545 ] Josh Elser commented on ACCUMULO-2897: -------------------------------------- ACCUMULO-2360 might have something that we can reuse to keep the proxy from crashing. > 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)