java.lang.NoClassDefFoundError: Could not initialize class com.twitter.ambrose.util.JSONUtil

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by shashank-expedia
, 1 year ago
Could not initialize class com.twitter.ambrose.util.JSONUtil
java.lang.NoClassDefFoundError: Could not initialize class com.twitter.ambrose.util.JSONUtil
at com.twitter.ambrose.model.Event.toJson(Event.java:81)
at com.twitter.ambrose.service.impl.InMemoryStatsService.writeJsonEventToDisk(InMemoryStatsService.java:169)
at com.twitter.ambrose.service.impl.InMemoryStatsService.pushEvent(InMemoryStatsService.java:132)
at com.twitter.ambrose.hive.reporter.AmbroseHiveProgressReporter.pushEvent(AmbroseHiveProgressReporter.java:173)
at com.twitter.ambrose.hive.AmbroseHiveFailHook.run(AmbroseHiveFailHook.java:75)
at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1411)
at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1179)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1006)
at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:247)
at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:199)
at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:410)
at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:345)
at org.apache.hadoop.hive.cli.CliDriver.processReader(CliDriver.java:443)
at org.apache.hadoop.hive.cli.CliDriver.processFile(CliDriver.java:459)
at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:739)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:677)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:616)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.run(RunJar.java:221)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.