You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eric Evans (JIRA)" <ji...@apache.org> on 2012/09/05 17:09:07 UTC

[jira] [Commented] (CASSANDRA-4566) test-clientutil target is failing

    [ https://issues.apache.org/jira/browse/CASSANDRA-4566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448809#comment-13448809 ] 

Eric Evans commented on CASSANDRA-4566:
---------------------------------------

+1 for the approach, but please remove Guava from the classpath of the {{test-clientutil-jar}} target in build.xml, and the unused Guava imports in {{o.a.c.cql.jdbc.Jdbc\{Ascii,UTF8\}}}, (0001-4566-v2.txt.patch does all of this).
                
> test-clientutil target is failing
> ---------------------------------
>
>                 Key: CASSANDRA-4566
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4566
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging, Tools
>    Affects Versions: 1.2.0 beta 1
>            Reporter: Eric Evans
>            Assignee: Dave Brosius
>            Priority: Blocker
>              Labels: lhf
>             Fix For: 1.2.0
>
>         Attachments: 0001-4566-v2.txt.patch, 4566.txt
>
>
> The {{test-clientutil}} target is failing (on trunk at least):
> {noformat}
>     [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)
> {noformat}
> 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).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira