hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15657) Failed snapshot verification may not be detected by TakeSnapshotHandler
Date Thu, 14 Apr 2016 19:37:25 GMT

    [ 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)

Mime
View raw message