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

Andy Tolbert commented on CASSANDRA-20327:
------------------------------------------

Attached test summary [^CASSANDRA-20327-1_ci_summary.html] which came back 
relatively clean with exception to some timed out CAS dtests (rerunning them 
now as seems unlikely would be related)

> Remove remaining driver dependencies from server code
> -----------------------------------------------------
>
>                 Key: CASSANDRA-20327
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20327
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: Legacy/Core
>            Reporter: Andy Tolbert
>            Assignee: Andy Tolbert
>            Priority: Normal
>             Fix For: 5.x
>
>         Attachments: CASSANDRA-20327-1_ci_summary.html
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Outside of code used by {{sstableloader}}, there is very little code that 
> utilizes the java driver, of which the dependency is trivial and can be 
> removed, this includes:
> * {{UntypedResultSet}} uses {{CodecUtils.fromUnsignedToSignedInt}} from the 
> driver
>   which is just adding Integer.MIN_VALUE to an int so can easily be removed.
> * {{PreparedStatementHelper}} is used only by dtest fuzz tests to validate
>   Prepared Statements.  Can be moved to test code.
> * {{UDFunction}} adds specific driver classes to {{disallowedPatterns}}, this 
> is no longer needed after [CASSANDRA-14737].
> * {{ThreadAwareSecurityManager.checkPermission}} makes reference to skipping
>   checking {{accessDeclaredMembers}} due to use of {{CodecUtils}};  this will 
> remain until we've fully removed the driver as a dependency.
> * {{JavaBasedUDFunction}} has some code that substitutes 
> {{com.datastax.driver.core}} with 
> {{org.apache.cassandra.cql3.functions.types}} as part of [CASSANDRA-14737].  
> This code will be retained for backwards compatibility.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to