ExceptionInInitializerError
Alex Buckley
alex.buckley at oracle.com
Mon Apr 18 17:19:47 UTC 2016
Ted, compiler-dev is for discussing javac, but your problem below
doesn't appear related to javac or the JVM or the JDK.
Alex
On 4/16/2016 7:57 AM, Ted Yu wrote:
> Hi,
> We run hbase snapshot on Azure Data Lake with openjdk 1.7_95.
>
> For on-going snapshot, we observed the following:
>
> http://pastebin.com/Kig0mMwN
>
>
> This is the related field from SnapshotProtos class:
>
> privatestatic
>
> com.google.protobuf.GeneratedMessage.FieldAccessorTable
>
> internal_static_hbase_pb_SnapshotDataManifest_fieldAccessorTable;
>
> My question is:
>
> would the ExceptionInInitializerError from above snippet lead to the
> following (running in same JVM):
>
> 2016-04-15 18:24:59,262 ERROR
> [MASTER_TABLE_OPERATIONS-10.0.0.84: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)
>
>
> You can find related source code at
> https://github.com/apache/hbase/tree/master/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated
>
> Thanks
>
More information about the compiler-dev
mailing list