Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-4566

test-clientutil target is failing

    XMLWordPrintableJSON

Details

    • Critical

    Description

      The test-clientutil target is failing (on trunk at least):

          [junit] java.lang.NoClassDefFoundError: org/apache/cassandra/io/IVersionedSerializer
          [junit] 	at java.lang.ClassLoader.defineClass1(Native Method)
          [junit] 	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
          [junit] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
          [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
          [junit] 	at org.apache.cassandra.utils.UUIDGen.<clinit>(UUIDGen.java:38)
          [junit] 	at org.apache.cassandra.cql.jdbc.ClientUtilsTest.test(ClientUtilsTest.java:59)
          [junit] Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.io.IVersionedSerializer
          [junit] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
          [junit] 	at java.security.AccessController.doPrivileged(Native Method)
          [junit] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
          [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
          [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
          [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      

      This target is to ensure that the clientutil jar has no unsatisfied dependencies. In this case it looks like static initialization is pulling in o.a.c.io.IVersionedSerializer, (probably transitively).

      Attachments

        1. 4566.txt
          16 kB
          Dave Brosius
        2. 0001-4566-v2.txt.patch
          17 kB
          Eric Evans

        Activity

          People

            dbrosius@apache.org Dave Brosius
            urandom Eric Evans
            Dave Brosius
            Eric Evans
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: