Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 31307198FC for ; Fri, 29 Apr 2016 03:36:21 +0000 (UTC) Received: (qmail 14243 invoked by uid 500); 29 Apr 2016 03:36:20 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 14153 invoked by uid 500); 29 Apr 2016 03:36:20 -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 14141 invoked by uid 99); 29 Apr 2016 03:36:20 -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; Fri, 29 Apr 2016 03:36:20 +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 D6073C06CB for ; Fri, 29 Apr 2016 03:36:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, 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-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id ORC6DIIry_N3 for ; Fri, 29 Apr 2016 03:36:17 +0000 (UTC) Received: from mail-yw0-f180.google.com (mail-yw0-f180.google.com [209.85.161.180]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 6A7475FADB for ; Fri, 29 Apr 2016 03:36:17 +0000 (UTC) Received: by mail-yw0-f180.google.com with SMTP id g133so141902581ywb.2 for ; Thu, 28 Apr 2016 20:36:17 -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=Zbr0IInnz3G0GhimeYhrOXTmubJPtsvP2HC+CWm0O2Q=; b=lmu6cQlEAkXiJ6QEIfg1ahmA4pUge++m0Pf80vTregR0SuF422fZLkLuGs56edwqhg 6Ww8wrTb5cG+My6aHk6kDD8waeOylsQb2iIqDm/k4GSmP1RZ6W22M0oRxfNVdFypMoNP JWEYFyUo7yufMARc400EuLpgaczm/5ltWRSDBwD5KVen9hfihJVqr1apoX+paQBOtPUM bmrGhGHmxqs+iQnLw5kZqqlcIkrjF74AkXs6vDs3l99SX1AW46c9xlsDm3GheEP4HiMQ 0HQdeqYiUIpiROZqzxl7gGhmLuINoi+0sbHpvhCv2hdPu3jLAgsmpktwog8LvF6Cndsx 4+8A== 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=Zbr0IInnz3G0GhimeYhrOXTmubJPtsvP2HC+CWm0O2Q=; b=O/nsX95DyvCz9MVrQ9PGE/Bqf0gHjDo9wFdxbUuJj/xCqxZAFPx+P15Uy/O3ZlxQBU 9jxxznSnY5I12it0hZfBEKr6xtjponKTIlDv23KW+elCm8CCSY1KG4v0KrZgvyuEmSam wZSYQS9rxkaJ+XnePMnKvCuawXBgpcDDUT6zBSmnLKErQMaTh+l7K5XDFihU5KSVrN7b sh32/6QkWjoncpmYx4htfsCET96ipfJx5mUbGOqhwBdORL2FnSISbXu+p/vuty/oPHvH 9qsbsIS6AzC0pMXn8hnTDHeFgGgxvDhvz46M0A0fC72Ju5x8alSGX8V0ERifZbJBgi3H Qmhw== X-Gm-Message-State: AOPr4FWX66+WpPUgeJloVd5ROlxMzcWmriBUKvbJp2e/RGc5rGCT7ijcN28lYCQdAdQ1GgU3aEV5xgwAUNrOmw== MIME-Version: 1.0 X-Received: by 10.37.7.6 with SMTP id 6mr9337432ybh.171.1461900976916; Thu, 28 Apr 2016 20:36:16 -0700 (PDT) Received: by 10.37.99.195 with HTTP; Thu, 28 Apr 2016 20:36:16 -0700 (PDT) In-Reply-To: References: Date: Thu, 28 Apr 2016 20:36:16 -0700 Message-ID: Subject: Re: [DISCUSS] Make AsyncFSWAL the default WAL in 2.0 From: Ted Yu To: "dev@hbase.apache.org" Content-Type: multipart/alternative; boundary=94eb2c06a1086d0ea90531975835 --94eb2c06a1086d0ea90531975835 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable +1 to what Heng said. On Thu, Apr 28, 2016 at 8:34 PM, Heng Chen wrote= : > The performance is quite great, but i think maybe we should collect some > experience on real production cluster before we make it as default. > > 2016-04-29 11:30 GMT+08:00 =E5=BC=A0=E9=93=8E : > > > Inline comments. > > Thanks, > > > > 2016-04-29 10:57 GMT+08:00 Sean Busbey : > > > > > I am nervous about having default out-of-the-box new HBase users > reliant > > on > > > a bespoke HDFS client, especially given Hadoop's compatibility > > > promises and history. Answers for these questions would make me more > > > confident: > > > > > > 1) Where are we on getting the client-side changes to HDFS pushed bac= k > > > upstream? > > > > > No progress yet... Here I want to tell a good story that HBase is alrea= dy > > use it as default :) > > > > > > > > 2) How well do we detect when our FS is not HDFS and what does > > > fallback look like? > > > > > Just wrap FSDataOutputStream to make it act like an asynchronous > > output(call hflush in a separated thread). The performance is not good = I > > think. > > > > > > > > 3) Will this mean altering the versions of Hadoop we label as > > > supported for HBase 2.y+? > > > > > I have tested with hadoop versions from 2.4.x to 2.7.x, so I don't thin= k > we > > need to change the supported versions? > > > > > > > > 4) How are we going to ensure our client remains compatible with newe= r > > > Hadoop releases? > > > > > We can not ensure, HDFS always breaks HBase at a new release... > > I need to test AsyncFSWAL on every new 2.x release and make it compatib= le > > with that version. And back to #1, I think we should make sure that the > > AsyncFSOutput will be in HDFS-3.0. And in HBase-3.0, we can introduce a > new > > 'AsyncFSWAL' that use the AsyncFSOutput in HDFS. > > > > > > > > On Thu, Apr 28, 2016 at 9:42 PM, Duo Zhang > wrote: > > > > Six month after I filed HBASE-14790... > > > > > > > > Now the AsyncFSWAL is ready. The WALPE result shows that it is > > > *1.4x~3.7x* > > > > faster than FSHLog. The ITBLL result turns out that it is *not bad* > > than > > > > FSHLog(the master branch is not that stable itself...). > > > > > > > > More details can be found on HBASE-15536. > > > > > > > > So here we propose to change the default WAL from FSHLog to > AsyncFSWAL. > > > > Suggestions are welcomed. > > > > > > > > Thanks. > > > > > > > > > > > > -- > > > busbey > > > > > > --94eb2c06a1086d0ea90531975835--