From hdfs-issues-return-259540-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Mon Apr 8 19:51:01 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 76037180627 for ; Mon, 8 Apr 2019 21:51:01 +0200 (CEST) Received: (qmail 19336 invoked by uid 500); 8 Apr 2019 19:31:23 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 19323 invoked by uid 99); 8 Apr 2019 19:31:23 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2019 19:31:23 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 66C28E12E5 for ; Mon, 8 Apr 2019 19:51:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 284FC2459A for ; Mon, 8 Apr 2019 19:51:00 +0000 (UTC) Date: Mon, 8 Apr 2019 19:51:00 +0000 (UTC) From: "Shashikant Banerjee (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDDS-372) There are three buffer copies in BlockOutputStream 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/HDDS-372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16812738#comment-16812738 ] Shashikant Banerjee commented on HDDS-372: ------------------------------------------ The test failures reported are not related to the patch. The client test failures reported should be addressed with HDDS-1373. > There are three buffer copies in BlockOutputStream > -------------------------------------------------- > > Key: HDDS-372 > URL: https://issues.apache.org/jira/browse/HDDS-372 > Project: Hadoop Distributed Data Store > Issue Type: Improvement > Components: Ozone Client > Reporter: Tsz Wo Nicholas Sze > Assignee: Shashikant Banerjee > Priority: Major > Attachments: HDDS-372.001.patch, HDDS-372.002.patch, HDDS-372.003.patch, HDDS-372.004.patch, HDDS-372.005.patch, HDDS-372.20180829.patch > > > Currently, there are three buffer copies in ChunkOutputStream > # from byte[] to ByteBuffer, and > # from ByteBuffer to ByteString. > # from ByteString to ByteBuffer for checskum computation > We should eliminate the ByteBuffer in the middle. > For zero copy io, we should support WritableByteChannel instead of OutputStream. It won't be done in this JIRA. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org