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 (unknown [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6DCAF18ED9 for ; Fri, 29 May 2015 00:50:00 +0000 (UTC) Received: (qmail 53026 invoked by uid 500); 29 May 2015 00:49:34 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 52939 invoked by uid 500); 29 May 2015 00:49:34 -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 52917 invoked by uid 99); 29 May 2015 00:49:34 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 May 2015 00:49:34 +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 197F6C98B9 for ; Fri, 29 May 2015 00:49:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.213 X-Spam-Level: **** X-Spam-Status: No, score=4.213 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id tzqm-WHheNcX for ; Fri, 29 May 2015 00:49:20 +0000 (UTC) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com [209.85.215.47]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 1878524CE8 for ; Fri, 29 May 2015 00:49:20 +0000 (UTC) Received: by lagv1 with SMTP id v1so44509413lag.3 for ; Thu, 28 May 2015 17:48:34 -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 :cc:content-type; bh=ccJmbIev1MelAKNEhM0C4oKCmuc1jCbkK/+bZ/1sxsw=; b=dMf7506TrC3lk+qB1U7rC4E89OZEsxA5+/4Fh7mwuFA5qz0HuxpiflxaJsVgCPY/B/ qQD9JZfgO5p/cyjgY4TgH5jhWMJcpV6u7QzOX/cGcdEwxp6CzbwlUDOM1NXbnmqjSaHT 9yNTy4G2LFNUDsugJBXADY+ggSnwEAdAj9cZvvYANTe+/vrcGi6G4KVnsuiHe7ASNTEe X0cZ2zlwFuhB6pi9hOGUQCwRtytoSkQPrRatdNj7/T9NRQhxB2Z/Z3HFdquJ/Ci5jIFX EDSHLQNDDthoXmptSvLLlRNkwcmaiu4Vg19j+Uc/9cP7F7mBT38T/KBCvf9S7QyNfR3w BI0A== MIME-Version: 1.0 X-Received: by 10.152.26.230 with SMTP id o6mr5551139lag.7.1432860514542; Thu, 28 May 2015 17:48:34 -0700 (PDT) Received: by 10.112.241.71 with HTTP; Thu, 28 May 2015 17:48:34 -0700 (PDT) In-Reply-To: References: <1432791830121-4071911.post@n3.nabble.com> Date: Fri, 29 May 2015 06:18:34 +0530 Message-ID: Subject: Re: [DISCUSSION] Merge of the hbase-11339 mob branch into master. From: Anoop John To: "dev@hbase.apache.org" Cc: "hbase-dev@hadoop.apache.org" Content-Type: multipart/alternative; boundary=089e0160a330fb6ba905172dd5ba --089e0160a330fb6ba905172dd5ba Content-Type: text/plain; charset=UTF-8 Yes Andy. The sweep tool is completely optional now. We have a chore doing the compaction, like we trigger auto major compaction. We can configure the interval. Auto can be turned off and user can explicitly call also. We have shell and API support. Anoop On Friday, May 29, 2015, Andrew Purtell wrote: > MOB references in cells won't find their value if the MOB hfile has been > corrupted. Dealing with that would be like any other corrupted HFile, > understood. The dangling references make thinking about (partial) recovery > and repair interesting. > > > On Thursday, May 28, 2015, Jingcheng Du wrote: > >> Andrew Purtell wrote >> > HBCK can check and sideline dangling reference files. I think of MOB >> files >> > as "core enough" auxiliary files that need some support. I suppose unlike >> > reference files their presence or absence won't produce a region open >> > failure, we would see dangling pointers later when tying to service >> > queries. (Yes?) Will that abort the RS? Pardon the ignorant question, >> > normally I could check the code but I'm at the airport on a phone. >> >> Thanks for comments! >> In mob, usually the reference cells are committed after the mob files are >> done. I think it hardly happens that a reference cell cannot find its mob >> file. >> Even if there's a dangling reference cell, the RS won't be aborted, a empty >> cell is returned instead. >> >> >> Andrew Purtell wrote >> > On that subject, I should file follow up issues for more check and repair >> > options for HFiles. We should be able to detect missing or corrupt files >> > of >> > all variety: HFile, reference, MOB. This may require an expensive scan >> > over >> > lots of files, but this is like fsck full disk surface scans and those >> > have >> > similar costs. Providing MR based tools is fine but we should have >> > multithreaded tools that can stand in if a MR runtime is not available. >> > Import, Export, VerifyReplication...all of these tools are in a >> different, >> > lesser, class than integrity and repair tools, in my opinion. Since MOB >> > will likely be merged into trunk by then I'll be sure to include it. I >> > agree it's not fair to ask more of MOB then what we have now for HFile. >> >> To detect the corrupt files, some code are needed in the file checker to >> check mob files after knowing it's a mob-enabled column. >> To detect the missing or dangling reference cells, I think we have to do a >> full-table scan, like what is done now in HFile.main. >> We can do that. >> >> >> >> -- >> View this message in context: >> http://apache-hbase.679495.n3.nabble.com/DISCUSSION-Merge-of-the-hbase-11339-mob-branch-into-master-tp4071644p4071911.html >> Sent from the HBase Developer mailing list archive at Nabble.com. >> > > > -- > Best regards, > > - Andy > > Problems worthy of attack prove their worth by hitting back. - Piet Hein > (via Tom White) > --089e0160a330fb6ba905172dd5ba--