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 A82CBFB30 for ; Wed, 1 May 2013 18:48:52 +0000 (UTC) Received: (qmail 22688 invoked by uid 500); 1 May 2013 18:48:51 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 22590 invoked by uid 500); 1 May 2013 18:48:51 -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 22582 invoked by uid 99); 1 May 2013 18:48:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 May 2013 18:48:51 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ndimiduk@gmail.com designates 209.85.220.180 as permitted sender) Received: from [209.85.220.180] (HELO mail-vc0-f180.google.com) (209.85.220.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 May 2013 18:48:47 +0000 Received: by mail-vc0-f180.google.com with SMTP id m17so1455828vca.25 for ; Wed, 01 May 2013 11:48:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=m2uA6YcrfZhTo6M+l961RVlAvAcjBEOv4/ZWq4gVhOY=; b=g3vuWU65+HJs8dPwo4/T4Kfw8/P8ZoH+dZbU85jzhNSwNeMHplu3XnOFMoNCdFa+Zm z8CALIPnoZsJOkx7T7e4DKX6HtriYjNKqDKoHgX2kIJvQGLssz+saJ/t0q75YBrhQnKL 9+APnJ8vmCvfvv+x8aXyf3/suJ2pjOzQZUDdOyby2ok5uN8UIAPI14t1dBTROJ2EzfEO 4DATsz3ZmGtdhH0s2XJizQBL5OVMT+JLCclWD0Y7T6ePGJoiBrGiFyTLi0oWqCXEc991 VELzdCaOZjb1Vu6jU3lB0jUyMhrsTSEIzk2sZbg6PB+6lr/KGbtdQQeHhMKl4o2V1/Bv He/Q== X-Received: by 10.58.250.66 with SMTP id za2mr240383vec.56.1367434106713; Wed, 01 May 2013 11:48:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.229.37 with HTTP; Wed, 1 May 2013 11:48:05 -0700 (PDT) In-Reply-To: References: From: Nick Dimiduk Date: Wed, 1 May 2013 11:48:05 -0700 Message-ID: Subject: Re: Corrupted log file To: dev@hbase.apache.org Content-Type: multipart/alternative; boundary=047d7bb0482a2f3ebd04dbac9063 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bb0482a2f3ebd04dbac9063 Content-Type: text/plain; charset=UTF-8 Detecting the condition, printing the warning, and breaking the loop sounds like an urgent bandaid solution to me. -n On Tue, Apr 30, 2013 at 11:51 AM, Jean-Marc Spaggiari < jean-marc@spaggiari.org> wrote: > When a log file (into /hbase/.logs) is corrupted, HBase is not able to > start because it tries to read it again and again. > > Also, there is nothing into HBCK to detect that. > > Should we have something to check that? Like in hbck, we can simply try to > open the log file, and read it? To report the warning? > > JM > --047d7bb0482a2f3ebd04dbac9063--