Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 55E2092CD for ; Wed, 22 Feb 2012 01:29:44 +0000 (UTC) Received: (qmail 42809 invoked by uid 500); 22 Feb 2012 01:29:42 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 42778 invoked by uid 500); 22 Feb 2012 01:29:42 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 42770 invoked by uid 99); 22 Feb 2012 01:29:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 01:29:42 +0000 X-ASF-Spam-Status: No, hits=4.7 required=5.0 tests=FREEMAIL_FORGED_REPLYTO,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.138.229.112] (HELO nm36-vm0.bullet.mail.ne1.yahoo.com) (98.138.229.112) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 22 Feb 2012 01:29:36 +0000 Received: from [98.138.90.48] by nm36.bullet.mail.ne1.yahoo.com with NNFMP; 22 Feb 2012 01:29:15 -0000 Received: from [98.138.89.164] by tm1.bullet.mail.ne1.yahoo.com with NNFMP; 22 Feb 2012 01:29:15 -0000 Received: from [127.0.0.1] by omp1020.mail.ne1.yahoo.com with NNFMP; 22 Feb 2012 01:29:15 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 661337.41795.bm@omp1020.mail.ne1.yahoo.com Received: (qmail 53273 invoked by uid 60001); 22 Feb 2012 01:29:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1329874155; bh=XGF2Jr7F0bDJ7CcL6Kbp4Kyu3vu5gN4476ktqX8XNPQ=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Sg7vCTyduA0KGeFKcZ8H11T/Eb7mgDa6cjcsvn6FLZ6I+o2MEEKrw49Fj57cGgWVZKLk2oclKTy+ydYztJJYQz5B1YMjyCpoQG/Dhn8I867erRybrk7Ac2IhwMPVqyhDXAz8LK7S4gYsvfqdpBT2OQMMzYccmqDHq0zQppP9weQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=ZNxfnl0MvW3GK1XVDJ3ezOvyIvFqJzEnorrAl4gJH15+0lrf7qbkstJqdbhsAcgjRH9/mCjxlBLBzVImGF0qRs7d/HxDdSTnm6TkDPpGr02QORoe+1/Dh3Pe1G4Hd1PYm8FtssLjcYGAKkGJrM6nAYf00ahBJ71+1phLzdKj8WI=; X-YMail-OSG: LrYHTqMVM1nY0fy4x7srHHZOVXDWSOT4Th.XuhEFv9DjxvO qgGisZCIPyp0YFMJPWhzmAiezOl3hnxZjJIOnhuEAOKs9vMdtLZDeQzapk3G GbQslpMv02guBtUBVFVBIjeNRbrRSc3aNDsGo.k4J0CvhkWXIQLVE3XBlDub otaAJzKvJyToZJttuC0K1Vuqj0PcxsVSb907mbvbtL1aotegnLR4bMg3Hbwa tMLsINWmOBUl6iNf0Wl4Ini1TCBluLWEOCv2Nt6VETqc0ku2lYcfpxZ45OiS yyggyTvaKMw5kTVNU_xRnDOjVgRqbfY.SBxI2EurBeF.3Nu1OapynwwGRwfV oSy_KsGPnzWE4cfzLP4gc9Tq7dN9Aqgvc9o0E3Gqy_YiMqY3jUbDo.C.C83u 1EF1wxk4AU88iZWbhoyvJpVhwrEyzesDX5pg2YUeLe_MHwPUxD8_nOD0oQUr wv9IG09uDnGB3LC7MDGBpofw_ouKWNNav_HuHEfwD96SxV1aaZcLemi6wsql h_nSerMD0yfPo5i9knK40F8NjGY5yxfgqF6As.1eOcfO9MEVIUNuMn4ML25l N69rzViveCwR3vv5zaViBh_othvAS8O3nd5gDfCXxRmcxaHsdPYjXhhlhaTI ejBWFhyscl_gcVwM.uAsLeyFiYOmqMqq1lW71JpBM5ybEU0ynJvB5NYZNl.m gwIg- Received: from [69.181.180.38] by web121701.mail.ne1.yahoo.com via HTTP; Tue, 21 Feb 2012 17:29:15 PST X-Mailer: YahooMailWebService/0.8.116.338427 References: <1329767911.88706.YahooMailNeo@web121705.mail.ne1.yahoo.com> <1329871128.53618.YahooMailNeo@web121706.mail.ne1.yahoo.com> Message-ID: <1329874155.37832.YahooMailNeo@web121701.mail.ne1.yahoo.com> Date: Tue, 21 Feb 2012 17:29:15 -0800 (PST) From: lars hofhansl Reply-To: lars hofhansl Subject: Re: Flushing to HDFS sooner To: "user@hbase.apache.org" , Manuel de Ferran , lars hofhansl In-Reply-To: <1329871128.53618.YahooMailNeo@web121706.mail.ne1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-887950874-2023108928-1329874155=:37832" ---887950874-2023108928-1329874155=:37832 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I tried on trunk, and this scenario seems to works fine.=0A=0AIn fact I fir= st forgot to enable appends (I just switched my local end to hadoop-1.0.0),= and without that I did in fact loose the edits.=0AWith appends enables thi= s works as designed.=0A=0A=0AMight still be a timing issue or only occur in= 0.90.x.=0A=0AMaybe somebody else could mine the attached logs for clues?= =0A=0A=0A-- Lars=0A=0A=0A=0A________________________________=0A From: lars = hofhansl =0ATo: Manuel de Ferran ; "user@hbase.apache.org" =0ASent: Tuesday, F= ebruary 21, 2012 4:38 PM=0ASubject: Re: Flushing to HDFS sooner=0A =0AYou s= till should not loose data this way.=0ALooks like something that is easily = reproducible. I'll try with the latest trunk.=0A=0A-- Lars=0A=0A=0A=0A_____= ___________________________=0AFrom: Manuel de Ferran =0ATo: user@hbase.apache.org =0ACc: lars hofhansl =0ASent: Tuesday, February 21, 2012 3:51 AM=0ASubject: Re: Flushing to HD= FS sooner=0A=0A=0AOn Mon, Feb 20, 2012 at 9:43 PM, Stack = wrote:=0A=0AOn Mon, Feb 20, 2012 at 11:58 AM, lars hofhansl wrote:=0A>> Are there any messages about log replay when you restar= t the region server?=0A>>=0A>>=0A>=0A>What Lars says', whats it say in the = logs on master on restart?=0A>St.Ack=0A>=0A=0AI just noticed that if I rest= art the master before starting the regionserver, I still have my rows and I= have "recovered.edits" logs in the master log :=0A=0A=0A2012-02-21 10:09:5= 5,541 INFO org.apache.hadoop.hbase.regionserver.wal.HLogSplitter: Closed pa= th hdfs://lxc167.nightly-dev.com:9100/hbase/.META./1028785192/recovered.edi= ts/0000000000000029079=A0(wrote 4 edits in 22ms)=0A=0ADuring my previous te= sts, I was doing the following :=0A- kill datanode=0A- start datanode=0A- s= tart regionserver=0A- restart master (because .META. and -ROOT- were the on= ly regions online): i did not realize that I could loose any data doing tha= t.=0A=0AHere are the master logs to both cases :=0Ahttp://pastebin.com/KD03= P0pD : master restart before regionserver=0Ahttp://pastebin.com/FvYaBMdm : = master restart after regionserver ---887950874-2023108928-1329874155=:37832--