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

test-clientutil target is failing

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment