Description
Using guava-13 classes causes issues when starting TransactionManager. Following exception is seen in the log
2016-08-30 10:18:03,482 INFO [main] tephra.TransactionServiceMain: Starting TransactionServiceMain Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/util/concurrent/Service$Listener at org.apache.tephra.distributed.TransactionService.doStart(TransactionService.java:80) at com.google.common.util.concurrent.AbstractService.start(AbstractService.java:90) at com.google.common.util.concurrent.AbstractService.startAndWait(AbstractService.java:129) at org.apache.tephra.TransactionServiceMain.start(TransactionServiceMain.java:118) at org.apache.tephra.TransactionServiceMain.doMain(TransactionServiceMain.java:85) at org.apache.tephra.TransactionServiceMain.main(TransactionServiceMain.java:49) Caused by: java.lang.ClassNotFoundException: com.google.common.util.concurrent.Service$Listener at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 6 more 2016-08-30 10:18:03,491 INFO [Thread-0] tephra.TransactionServiceMain: Stopping TransactionServiceMain
As a workaround we need to add guava 13.0.1 jars in the classpath.
Attachments
Issue Links
- is depended upon by
-
PHOENIX-3259 Create fat jar for transaction manager
- Resolved
- relates to
-
TEPHRA-171 Remove dependency on guava-13 classes in Tephra client service
- Resolved