You check what is happening in the Class. There must be some static initialization code which fails. Also note, that whenever an uncaught exception occurs in executor, a jvm shutdown is triggered. This shutdown can also lead to exceptions in static initializations. e.g. https://issues.apache.org/jira/browse/HADOOP-12423
On Thu, Jul 7, 2016 at 7:34 AM, Chen Junfeng <[email protected]> wrote: > I found “java.lang.NoClassDefFoundError: Could not initialize class ***” > error happening in cluster mode incidentally. It is so strange that just > some executors of component throw this error while others not. If it is > caused by dependency problem in my jar, the entire spout or bolt should not > work and offline totally. So what is the reason? My storm version is 1.0.1. > Thx a lot. > > > > 发送自 Windows 10 版邮件 <https://go.microsoft.com/fwlink/?LinkId=550986>应用 > > > -- Regards, Abhishek Agarwal
