Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 526A8200BB9 for ; Mon, 24 Oct 2016 07:37:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 45D63160AFD; Mon, 24 Oct 2016 05:37:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B37AD160AFC for ; Mon, 24 Oct 2016 07:36:59 +0200 (CEST) Received: (qmail 82256 invoked by uid 500); 24 Oct 2016 05:36:58 -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 82238 invoked by uid 99); 24 Oct 2016 05:36:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Oct 2016 05:36:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 85B782C2A66 for ; Mon, 24 Oct 2016 05:36:58 +0000 (UTC) Date: Mon, 24 Oct 2016 05:36:58 +0000 (UTC) From: "Duo Zhang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15709) Handle large edits for asynchronous WAL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 24 Oct 2016 05:37:00 -0000 [ https://issues.apache.org/jira/browse/HBASE-15709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15601006#comment-15601006 ] Duo Zhang commented on HBASE-15709: ----------------------------------- The max packet size is 16MB, but it include the checksum and header, so it should be a value less than 16MB and depends on the checksum size. I do not want to compute it so for simple a set 12MB as the limit. > Handle large edits for asynchronous WAL > --------------------------------------- > > Key: HBASE-15709 > URL: https://issues.apache.org/jira/browse/HBASE-15709 > Project: HBase > Issue Type: Sub-task > Components: io, wal > Affects Versions: 2.0.0 > Reporter: Duo Zhang > Assignee: Duo Zhang > Priority: Critical > Fix For: 2.0.0 > > Attachments: HBASE-15709.patch > > > First, FanOutOneBlockAsyncDFSOutput can not work if the buffered data is larger than PacketReceiver.MAX_PACKET_SIZE(16MB). > Second, since we only allow one block here, we need to make sure we do not exceed the block size after writing a large chunk of data. -- This message was sent by Atlassian JIRA (v6.3.4#6332)