Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2BBA8199C8 for ; Thu, 14 Apr 2016 19:37:26 +0000 (UTC) Received: (qmail 41067 invoked by uid 500); 14 Apr 2016 19:37:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 41020 invoked by uid 500); 14 Apr 2016 19:37:25 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 40943 invoked by uid 99); 14 Apr 2016 19:37:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2016 19:37:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8B7542C1F60 for ; Thu, 14 Apr 2016 19:37:25 +0000 (UTC) Date: Thu, 14 Apr 2016 19:37:25 +0000 (UTC) From: "Matteo Bertozzi (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15657) Failed snapshot verification may not be detected by TakeSnapshotHandler MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-15657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15241782#comment-15241782 ] Matteo Bertozzi commented on HBASE-15657: ----------------------------------------- how did you get into that case? do you have Master and RS logs to share? > Failed snapshot verification may not be detected by TakeSnapshotHandler > ----------------------------------------------------------------------- > > Key: HBASE-15657 > URL: https://issues.apache.org/jira/browse/HBASE-15657 > Project: HBase > Issue Type: Bug > Reporter: Ted Yu > Assignee: Ted Yu > Attachments: 15657.v1.patch > > > Encountered a case where snapshot verification failed: > {code} > 2016-04-13 07:41:12,308 ERROR [MASTER_TABLE_OPERATIONS-10.0.0.75:16000-0] executor.EventHandler: Caught throwable while processing event C_M_SNAPSHOT_TABLE > java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos > at org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos$SnapshotDataManifest.internalGetFieldAccessorTable(SnapshotProtos.java:3883) > at com.google.protobuf.GeneratedMessage.getDescriptorForType(GeneratedMessage.java:98) > at com.google.protobuf.AbstractMessage$Builder.findMissingFields(AbstractMessage.java:789) > at com.google.protobuf.AbstractMessage$Builder.findMissingFields(AbstractMessage.java:780) > at com.google.protobuf.AbstractMessage$Builder.newUninitializedMessageException(AbstractMessage.java:770) > at com.google.protobuf.AbstractMessage.newUninitializedMessageException(AbstractMessage.java:237) > at com.google.protobuf.AbstractParser.newUninitializedMessageException(AbstractParser.java:57) > at com.google.protobuf.AbstractParser.checkMessageInitialized(AbstractParser.java:71) > at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:217) > at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:223) > at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:49) > at org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos$SnapshotDataManifest.parseFrom(SnapshotProtos.java:4094) > at org.apache.hadoop.hbase.snapshot.SnapshotManifest.readDataManifest(SnapshotManifest.java:433) > at org.apache.hadoop.hbase.snapshot.SnapshotManifest.load(SnapshotManifest.java:273) > at org.apache.hadoop.hbase.snapshot.SnapshotManifest.open(SnapshotManifest.java:119) > at org.apache.hadoop.hbase.master.snapshot.MasterSnapshotVerifier.verifySnapshot(MasterSnapshotVerifier.java:108) > at org.apache.hadoop.hbase.master.snapshot.TakeSnapshotHandler.process(TakeSnapshotHandler.java:200) > at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:128) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > {code} > Note NoClassDefFoundError is not Exception. So it was not caught by the following clause in TakeSnapshotHandler : > {code} > } catch (Exception e) { > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)