From hdfs-issues-return-207272-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Mon Jan 8 11:06:09 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id AD64E180607 for ; Mon, 8 Jan 2018 11:06:09 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 9D555160C3E; Mon, 8 Jan 2018 10:06:09 +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 E030E160C1E for ; Mon, 8 Jan 2018 11:06:08 +0100 (CET) Received: (qmail 47056 invoked by uid 500); 8 Jan 2018 10:06:08 -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 47041 invoked by uid 99); 8 Jan 2018 10:06:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jan 2018 10:06:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 847C5C3E2C for ; Mon, 8 Jan 2018 10:06:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.911 X-Spam-Level: X-Spam-Status: No, score=-99.911 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id SKh8jtbZlcOj for ; Mon, 8 Jan 2018 10:06:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 436875FB37 for ; Mon, 8 Jan 2018 10:06:01 +0000 (UTC) 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 7D11CE00A3 for ; Mon, 8 Jan 2018 10:06: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 33303240DA for ; Mon, 8 Jan 2018 10:06:00 +0000 (UTC) Date: Mon, 8 Jan 2018 10:06:00 +0000 (UTC) From: "Tsz Wo Nicholas Sze (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-12853) Ozone: Optimize chunk writes for Ratis by avoiding double writes 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/HDFS-12853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16316006#comment-16316006 ] Tsz Wo Nicholas Sze commented on HDFS-12853: -------------------------------------------- > COMMIT_DATA should be sync'ed with WRITE_DATA so that COMMIT_DATA is always after WRITE_DATA. If we don't have the synchronization mentioned the above, it seems that the patch won't work? > Ozone: Optimize chunk writes for Ratis by avoiding double writes > ---------------------------------------------------------------- > > Key: HDFS-12853 > URL: https://issues.apache.org/jira/browse/HDFS-12853 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ozone > Affects Versions: HDFS-7240 > Reporter: Mukul Kumar Singh > Assignee: Mukul Kumar Singh > Fix For: HDFS-7240 > > Attachments: HDFS-12853-HDFS-7240.001.patch, HDFS-12853-HDFS-7240.002.patch > > > Ozone, in replicated mode writes the data twice, once to the raft log and then to the statemachine. > This results in the data being written twice during a particular chunk write, this is subobtimal. With RATIS-122 the statemachine in Ozone can be optimized by writing the data to the statemachine only once. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org