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 D304E200AE4 for ; Wed, 11 May 2016 01:16:34 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D1F54160A11; Tue, 10 May 2016 23:16:34 +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 F243D16098A for ; Wed, 11 May 2016 01:16:33 +0200 (CEST) Received: (qmail 38423 invoked by uid 500); 10 May 2016 23:16:33 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 38411 invoked by uid 99); 10 May 2016 23:16:32 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2016 23:16:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 097B0C015E for ; Tue, 10 May 2016 23:16:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.429 X-Spam-Level: * X-Spam-Status: No, score=1.429 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id EOka9fqcwoQe for ; Tue, 10 May 2016 23:16:30 +0000 (UTC) Received: from mail-vk0-f45.google.com (mail-vk0-f45.google.com [209.85.213.45]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id DF3DA5F23C for ; Tue, 10 May 2016 23:16:29 +0000 (UTC) Received: by mail-vk0-f45.google.com with SMTP id o133so36263736vka.0 for ; Tue, 10 May 2016 16:16:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=s3EWGS6uYsmZXs6VI1+eCBmKOToVpiOVyXJmP3w5ehE=; b=m6vnr/VmR2d7h0ulDDrz+q+J5/fJs06Vy1DS22GJ3XJ43jYgJfMT5tpIyqo/tFEUXw So1+g9fdpHwUfa7PxDOKPM2elyHL9ciDRGCFEWhLZYszS5BsRIrohYsp63p+Uht3Ng71 tZr0I4snNIXF+PPqoEO6VyfnSSVWAZjwL6haVvD4zWZgILx36Wszhv1oxKN4lnCXXeof 9c29JsnhGVYQCwquVxL2GQpVUaKXf17IsD9SAl7YxH9qePWTFWyd3QULo/kALbY3OmlH zJq6kzdcift6qqbm0G9tkbM2LqotsHDdnxyx9tDfSFGZvwZtHaNXQyl9kxiFn84jLVGR GfJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=s3EWGS6uYsmZXs6VI1+eCBmKOToVpiOVyXJmP3w5ehE=; b=TMCU6QTgX4roLfC0o48CBgqkL7K/6bpVlqrTsyBJG/G88a5Ynija8jflz3ry7hNktV gS3AeJwgldUcohNoFLopAWbBMSO96WzAVHEHz4cO+H/7E1mqYc9EKyw7hbHn/zkFrfCG rUg9MQPLzO733DxB6c1eNbpg1AmhA7QlC/7+jo646LinjtBwVPXJodw7WLWN0Rm6bynQ Lrl5GRf1f/5ZK7DfwLdNyj8kDxWCkIJckvNgmQRRnCT68wy+FWDwikP0nfWrjGvugVs/ GmUdJ/8Pk9qZ7YBgi3QU1jhYhfGTTRTuup2cEUNT9aolH2RM1ITgeJuicj2aA9chh4+h L55g== X-Gm-Message-State: AOPr4FUGqLWJ0LCRxHjGUyf5CtpMLcW9swQYemOiAjfrkFLZ/FZNc9O57RLKIsYz690vQE7CZ2WQa7cXED7vZQ== MIME-Version: 1.0 X-Received: by 10.31.3.24 with SMTP id 24mr89856vkd.28.1462922188974; Tue, 10 May 2016 16:16:28 -0700 (PDT) Received: by 10.159.55.138 with HTTP; Tue, 10 May 2016 16:16:28 -0700 (PDT) In-Reply-To: References: Date: Wed, 11 May 2016 07:16:28 +0800 Message-ID: Subject: Re: [DISCUSS] Make AsyncFSWAL the default WAL in 2.0 From: =?UTF-8?B?5byg6ZOO?= To: "dev@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a1142904468731d0532851dd6 archived-at: Tue, 10 May 2016 23:16:35 -0000 --001a1142904468731d0532851dd6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable See HDFS-223 and HDFS-916. There are plenty of issues related. The most important thing is that we need a suitable api and there is an asynchronous file system proposal in HADOOP-12910 which does not fit our requirements so I need to stop it being committed first... And a default choice in a later HBase version means that this feature is definitely needed in HDFS and will be well tested even before it go into the HDFS code base. An experimental feature is always experimental. Think of DLR. For per CF flush, the data loss issue had been found before releasing 1.2 in which version it is on by default. And we also experienced this recently when backporting the scan heartbeat feature into our internal branch. Lots of small bugs though the code has been there for months... Thanks. 2016=E5=B9=B45=E6=9C=8811=E6=97=A5=E6=98=9F=E6=9C=9F=E4=B8=89=EF=BC=8CGary = Helmling =E5=86=99=E9=81=93=EF=BC=9A > > > > Yeah the 'push to upstream' work has been started already. See here > > > > https://issues.apache.org/jira/browse/HADOOP-12910 > > > > But it is much harder to push code into HDFS than HBase. It is the core > of > > all hadoop systems and I do not have many contacts in the hdfs > community... > > > > > Yes, I'm familiar with the difficulty of getting even relatively small > change in to HDFS. > > Is HADOOP-12910 really the right issue for this? There is some good > discussion there, but it looks like it's primarily motivated by doing lar= ge > batches of async renames. Isn't our issue more that we want a whole new > OutputStream implementation doing fan out instead of the regular pipeline > replication? > > HDFS-9924 seems like it might be the better umbrella for this. Maybe it > would be better to create a new top level issue and link it there and > comment in HDFS-9924 to try to get some traction. > > > > And it is more convincing if we make it default as it means that we wil= l > > keep maintaining the code rather than make it stale and unstable. > > > > > I would agree with this reasoning if we were talking about making an > implementation inside HDFS the default. That would indicate commitment t= o > contribute to and maintain the HDFS implementation. Making a separate co= de > copy living in HBase the default I don't think really means anything for > HDFS. > > The fact that this already needs to be updated for 2.8 just reinforces th= at > we're going to see maintainability issues with this. > > Again, I appreciate all of the work that has gone in to this feature and > the big performance improvements it shows, but I think the sequencing of > events here is going to ultimately cause us and our users more pain than = is > necessary. > --001a1142904468731d0532851dd6--