Uploaded image for project: 'Phoenix Tephra'
  1. Phoenix Tephra
  2. TEPHRA-181

Remove dependency on guava-13 classes in Tephra Server

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.7.0
    • None
    • core, manager
    • None

    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

          Activity

            People

              poorna Poorna Chandra
              sagark Sagar Kapare
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: