Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 66E181880C for ; Tue, 22 Mar 2016 23:11:26 +0000 (UTC) Received: (qmail 4520 invoked by uid 500); 22 Mar 2016 23:11:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 4414 invoked by uid 500); 22 Mar 2016 23:11:25 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 4036 invoked by uid 99); 22 Mar 2016 23:11:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Mar 2016 23:11:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 914732C1F69 for ; Tue, 22 Mar 2016 23:11:25 +0000 (UTC) Date: Tue, 22 Mar 2016 23:11:25 +0000 (UTC) From: "Enis Soztutar (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15212) RRCServer should enforce max request size 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/HBASE-15212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15207492#comment-15207492 ] Enis Soztutar commented on HBASE-15212: --------------------------------------- I've ran the failed test {{TestAsyncIPC}} locally. It is one of the flaky tests I think. Will commit this shortly. > RRCServer should enforce max request size > ------------------------------------------ > > Key: HBASE-15212 > URL: https://issues.apache.org/jira/browse/HBASE-15212 > Project: HBase > Issue Type: Improvement > Reporter: Enis Soztutar > Assignee: Enis Soztutar > Fix For: 2.0.0, 1.3.0 > > Attachments: hbase-15212_v1.patch, hbase-15212_v1.patch, hbase-15212_v2.patch > > > A TODO from HBASE-15177 was that we are not protecting the RPCServer in case an RPC request with a very large size is received. This might cause the server to go OOM because we are allocating the RPC serialization into a BB. Instead we should reject the RPC and close the connection. -- This message was sent by Atlassian JIRA (v6.3.4#6332)