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 (Created) (JIRA)" <ji...@apache.org> on 2011/10/04 00:00:36 UTC

[jira] [Created] (CASSANDRA-3300) relocate Java (JDBC) CQL driver

relocate Java (JDBC) CQL driver
-------------------------------

                 Key: CASSANDRA-3300
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3300
             Project: Cassandra
          Issue Type: Task
            Reporter: Eric Evans
            Priority: Minor


A new project as been created at http://code.google.com/a/apache-extras.org/p/cassandra-jdbc, a current snapshot of the code from trunk has been imported, and the tests updated.

I've configured commit notifications to be sent to commits@cassandra.apache.org, though this can be changed if people object.

To the best of my knowledge, the only thing remaining is to configure the initial set of committers and admins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3300) relocate Java (JDBC) CQL driver

Posted by "Rick Shaw (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122499#comment-13122499 ] 

Rick Shaw commented on CASSANDRA-3300:
--------------------------------------

+1. Let's do this ASAP and move on.

Suggest we publish a "roadmap" ticket for the next planned round of enhancements on both C* jira and the A/E ticketing system and keep both up to date with progress till it closes.
                
> relocate Java (JDBC) CQL driver
> -------------------------------
>
>                 Key: CASSANDRA-3300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3300
>             Project: Cassandra
>          Issue Type: Task
>          Components: Drivers
>            Reporter: Eric Evans
>            Priority: Minor
>              Labels: cql
>
> A new project as been created at http://code.google.com/a/apache-extras.org/p/cassandra-jdbc, a current snapshot of the code from trunk has been imported, and the tests updated.
> I've configured commit notifications to be sent to commits@cassandra.apache.org, though this can be changed if people object.
> To the best of my knowledge, the only thing remaining is to configure the initial set of committers and admins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3300) relocate Java (JDBC) CQL driver

Posted by "Stephen Connolly (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126599#comment-13126599 ] 

Stephen Connolly commented on CASSANDRA-3300:
---------------------------------------------

http://code.google.com/a/apache-extras.org/r/stephenalanconnolly-cassandra-jdbc-maven/ is where my pom is at.

This is a full-on build.... does all the tests on an isolated cassandra instance that it fires up as part of the build.

At present you need two staging repositories to build the maven based project:

https://repository.apache.org/content/repositories/orgapachecassandra-055/ for cassandra 1.0.0
https://nexus.codehaus.org/content/repositories/orgcodehausmojo-010/ for cassandra-maven-plugin 1.0.0-1

and you need to 

mvn install:install-file \
-DgroupId=org.apache.cassandra \
-DartifactId=cassandra-clientutil \
-Dversion=1.0.0-rc2-SNAPSHOT \
-Dpackaging=jar \
-Dfile=path/to/apache-cassandra-clientutil-1.0.0-rc2-SNAPSHOT.jar

will build if you do all that.

Once the two release votes pass all that remains is to get clientutil released and into maven central and it will be self-contained
                
> relocate Java (JDBC) CQL driver
> -------------------------------
>
>                 Key: CASSANDRA-3300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3300
>             Project: Cassandra
>          Issue Type: Task
>          Components: Drivers
>            Reporter: Eric Evans
>            Priority: Minor
>              Labels: cql
>         Attachments: v1-0001-CASSANDRA-3300-remove-driver-build-test.txt
>
>
> A new project as been created at http://code.google.com/a/apache-extras.org/p/cassandra-jdbc, a current snapshot of the code from trunk has been imported, and the tests updated.
> I've configured commit notifications to be sent to commits@cassandra.apache.org, though this can be changed if people object.
> To the best of my knowledge, the only thing remaining is to configure the initial set of committers and admins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3300) relocate Java (JDBC) CQL driver

Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-3300:
--------------------------------------

       Reviewer: ardot
    Component/s: Drivers

Rick, can you review?
                
> relocate Java (JDBC) CQL driver
> -------------------------------
>
>                 Key: CASSANDRA-3300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3300
>             Project: Cassandra
>          Issue Type: Task
>          Components: Drivers
>            Reporter: Eric Evans
>            Priority: Minor
>              Labels: cql
>
> A new project as been created at http://code.google.com/a/apache-extras.org/p/cassandra-jdbc, a current snapshot of the code from trunk has been imported, and the tests updated.
> I've configured commit notifications to be sent to commits@cassandra.apache.org, though this can be changed if people object.
> To the best of my knowledge, the only thing remaining is to configure the initial set of committers and admins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3300) relocate Java (JDBC) CQL driver

Posted by "Eric Evans (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Evans updated CASSANDRA-3300:
----------------------------------

    Attachment: v1-0001-CASSANDRA-3300-remove-driver-build-test.txt
    
> relocate Java (JDBC) CQL driver
> -------------------------------
>
>                 Key: CASSANDRA-3300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3300
>             Project: Cassandra
>          Issue Type: Task
>          Components: Drivers
>            Reporter: Eric Evans
>            Priority: Minor
>              Labels: cql
>         Attachments: v1-0001-CASSANDRA-3300-remove-driver-build-test.txt
>
>
> A new project as been created at http://code.google.com/a/apache-extras.org/p/cassandra-jdbc, a current snapshot of the code from trunk has been imported, and the tests updated.
> I've configured commit notifications to be sent to commits@cassandra.apache.org, though this can be changed if people object.
> To the best of my knowledge, the only thing remaining is to configure the initial set of committers and admins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3300) relocate Java (JDBC) CQL driver

Posted by "Jonathan Ellis (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126986#comment-13126986 ] 

Jonathan Ellis commented on CASSANDRA-3300:
-------------------------------------------

bq. This ticket is technically done, the only thing remaining is to actually remove the drivers/ directory, and of course, the build and test targets from build.xml.

+1
                
> relocate Java (JDBC) CQL driver
> -------------------------------
>
>                 Key: CASSANDRA-3300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3300
>             Project: Cassandra
>          Issue Type: Task
>          Components: Drivers
>            Reporter: Eric Evans
>            Priority: Minor
>              Labels: cql
>         Attachments: v1-0001-CASSANDRA-3300-remove-driver-build-test.txt
>
>
> A new project as been created at http://code.google.com/a/apache-extras.org/p/cassandra-jdbc, a current snapshot of the code from trunk has been imported, and the tests updated.
> I've configured commit notifications to be sent to commits@cassandra.apache.org, though this can be changed if people object.
> To the best of my knowledge, the only thing remaining is to configure the initial set of committers and admins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CASSANDRA-3300) relocate Java (JDBC) CQL driver

Posted by "Eric Evans (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Evans resolved CASSANDRA-3300.
-----------------------------------

    Resolution: Fixed
      Assignee: Eric Evans

committed, and drivers/ removed.
                
> relocate Java (JDBC) CQL driver
> -------------------------------
>
>                 Key: CASSANDRA-3300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3300
>             Project: Cassandra
>          Issue Type: Task
>          Components: Drivers
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>            Priority: Minor
>              Labels: cql
>         Attachments: v1-0001-CASSANDRA-3300-remove-driver-build-test.txt
>
>
> A new project as been created at http://code.google.com/a/apache-extras.org/p/cassandra-jdbc, a current snapshot of the code from trunk has been imported, and the tests updated.
> I've configured commit notifications to be sent to commits@cassandra.apache.org, though this can be changed if people object.
> To the best of my knowledge, the only thing remaining is to configure the initial set of committers and admins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3300) relocate Java (JDBC) CQL driver

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13127112#comment-13127112 ] 

Hudson commented on CASSANDRA-3300:
-----------------------------------

Integrated in Cassandra #1157 (See [https://builds.apache.org/job/Cassandra/1157/])
    remove what remains of the drivers tree

Patch by eevans; reviewed by jbellis for CASSANDRA-3300

eevans : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1183130
Files : 
* /cassandra/trunk/drivers/java/CHANGES.txt
* /cassandra/trunk/drivers/java/src/org/apache/cassandra/cql/jdbc/AbstractCassandraConnection.java
* /cassandra/trunk/drivers/java/src/org/apache/cassandra/cql/jdbc/AbstractResultSet.java
* /cassandra/trunk/drivers/java/src/org/apache/cassandra/cql/jdbc/AbstractStatement.java
* /cassandra/trunk/drivers/java/src/org/apache/cassandra/cql/jdbc/CResultSet.java
* /cassandra/trunk/drivers/java/src/org/apache/cassandra/cql/jdbc/CassandraConnection.java
* /cassandra/trunk/drivers/java/src/org/apache/cassandra/cql/jdbc/CassandraDataSource.java
* /cassandra/trunk/drivers/java/src/org/apache/cassandra/cql/jdbc/CassandraDatabaseMetaData.java
* /cassandra/trunk/drivers/java/src/org/apache/cassandra/cql/jdbc/CassandraDriver.java
* /cassandra/trunk/drivers/java/src/org/apache/cassandra/cql/jdbc/CassandraPreparedStatement.java
* /cassandra/trunk/drivers/java/src/org/apache/cassandra/cql/jdbc/CassandraResultSet.java
* /cassandra/trunk/drivers/java/src/org/apache/cassandra/cql/jdbc/CassandraRowId.java
* /cassandra/trunk/drivers/java/src/org/apache/cassandra/cql/jdbc/CassandraStatement.java
* /cassandra/trunk/drivers/java/src/org/apache/cassandra/cql/jdbc/ColumnDecoder.java
* /cassandra/trunk/drivers/java/src/org/apache/cassandra/cql/jdbc/DriverResolverException.java
* /cassandra/trunk/drivers/java/src/org/apache/cassandra/cql/jdbc/InvalidUrlException.java
* /cassandra/trunk/drivers/java/src/org/apache/cassandra/cql/jdbc/TypedColumn.java
* /cassandra/trunk/drivers/java/src/org/apache/cassandra/cql/jdbc/Utils.java
* /cassandra/trunk/drivers/java/test/conf/cassandra.yaml
* /cassandra/trunk/drivers/java/test/conf/log4j-junit.properties
* /cassandra/trunk/drivers/java/test/org/apache/cassandra/cql/EmbeddedServiceBase.java
* /cassandra/trunk/drivers/java/test/org/apache/cassandra/cql/JdbcDriverTest.java
* /cassandra/trunk/drivers/java/test/org/apache/cassandra/cql/jdbc/DataSourceTest.java
* /cassandra/trunk/drivers/java/test/org/apache/cassandra/cql/jdbc/PreparedStatementTest.java

                
> relocate Java (JDBC) CQL driver
> -------------------------------
>
>                 Key: CASSANDRA-3300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3300
>             Project: Cassandra
>          Issue Type: Task
>          Components: Drivers
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>            Priority: Minor
>              Labels: cql
>         Attachments: v1-0001-CASSANDRA-3300-remove-driver-build-test.txt
>
>
> A new project as been created at http://code.google.com/a/apache-extras.org/p/cassandra-jdbc, a current snapshot of the code from trunk has been imported, and the tests updated.
> I've configured commit notifications to be sent to commits@cassandra.apache.org, though this can be changed if people object.
> To the best of my knowledge, the only thing remaining is to configure the initial set of committers and admins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3300) relocate Java (JDBC) CQL driver

Posted by "Stephen Connolly (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126702#comment-13126702 ] 

Stephen Connolly commented on CASSANDRA-3300:
---------------------------------------------

At present the tests run on a port & host that is configured by properties.

I can add a profile switch so that if the port/host property is defined then it will not spin up the cassandra server quite easily
                
> relocate Java (JDBC) CQL driver
> -------------------------------
>
>                 Key: CASSANDRA-3300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3300
>             Project: Cassandra
>          Issue Type: Task
>          Components: Drivers
>            Reporter: Eric Evans
>            Priority: Minor
>              Labels: cql
>         Attachments: v1-0001-CASSANDRA-3300-remove-driver-build-test.txt
>
>
> A new project as been created at http://code.google.com/a/apache-extras.org/p/cassandra-jdbc, a current snapshot of the code from trunk has been imported, and the tests updated.
> I've configured commit notifications to be sent to commits@cassandra.apache.org, though this can be changed if people object.
> To the best of my knowledge, the only thing remaining is to configure the initial set of committers and admins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3300) relocate Java (JDBC) CQL driver

Posted by "Rick Shaw (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121552#comment-13121552 ] 

Rick Shaw commented on CASSANDRA-3300:
--------------------------------------

Yep. Already am in sync with Eric. He set me up.
                
> relocate Java (JDBC) CQL driver
> -------------------------------
>
>                 Key: CASSANDRA-3300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3300
>             Project: Cassandra
>          Issue Type: Task
>          Components: Drivers
>            Reporter: Eric Evans
>            Priority: Minor
>              Labels: cql
>
> A new project as been created at http://code.google.com/a/apache-extras.org/p/cassandra-jdbc, a current snapshot of the code from trunk has been imported, and the tests updated.
> I've configured commit notifications to be sent to commits@cassandra.apache.org, though this can be changed if people object.
> To the best of my knowledge, the only thing remaining is to configure the initial set of committers and admins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3300) relocate Java (JDBC) CQL driver

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13127043#comment-13127043 ] 

Hudson commented on CASSANDRA-3300:
-----------------------------------

Integrated in Cassandra #1156 (See [https://builds.apache.org/job/Cassandra/1156/])
    remove driver build/test

Patch by eevans; reviewed by jbellis for CASSANDRA-3300

eevans : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1183124
Files : 
* /cassandra/trunk/build.xml

                
> relocate Java (JDBC) CQL driver
> -------------------------------
>
>                 Key: CASSANDRA-3300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3300
>             Project: Cassandra
>          Issue Type: Task
>          Components: Drivers
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>            Priority: Minor
>              Labels: cql
>         Attachments: v1-0001-CASSANDRA-3300-remove-driver-build-test.txt
>
>
> A new project as been created at http://code.google.com/a/apache-extras.org/p/cassandra-jdbc, a current snapshot of the code from trunk has been imported, and the tests updated.
> I've configured commit notifications to be sent to commits@cassandra.apache.org, though this can be changed if people object.
> To the best of my knowledge, the only thing remaining is to configure the initial set of committers and admins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3300) relocate Java (JDBC) CQL driver

Posted by "Eric Evans (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124176#comment-13124176 ] 

Eric Evans commented on CASSANDRA-3300:
---------------------------------------

Sorry for the delay on this; I'll followup with a patch that removes the necessary bits from build.xml shortly
                
> relocate Java (JDBC) CQL driver
> -------------------------------
>
>                 Key: CASSANDRA-3300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3300
>             Project: Cassandra
>          Issue Type: Task
>          Components: Drivers
>            Reporter: Eric Evans
>            Priority: Minor
>              Labels: cql
>
> A new project as been created at http://code.google.com/a/apache-extras.org/p/cassandra-jdbc, a current snapshot of the code from trunk has been imported, and the tests updated.
> I've configured commit notifications to be sent to commits@cassandra.apache.org, though this can be changed if people object.
> To the best of my knowledge, the only thing remaining is to configure the initial set of committers and admins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3300) relocate Java (JDBC) CQL driver

Posted by "Eric Evans (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126689#comment-13126689 ] 

Eric Evans commented on CASSANDRA-3300:
---------------------------------------

bq. Well ideally the cassandra-clientutil.jar needs to be set up to publish to Maven central... and there is also the question of publishing the JDBC driver to Maven central.

OK, but that should be a separate ticket, and not something that blocks this one, (it's something that would need to be done whether the driver was moved or not).

This ticket is technically done, the only thing remaining is to actually remove the {{drivers/}} directory, and of course, the build and test targets from {{build.xml}}.
                
> relocate Java (JDBC) CQL driver
> -------------------------------
>
>                 Key: CASSANDRA-3300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3300
>             Project: Cassandra
>          Issue Type: Task
>          Components: Drivers
>            Reporter: Eric Evans
>            Priority: Minor
>              Labels: cql
>         Attachments: v1-0001-CASSANDRA-3300-remove-driver-build-test.txt
>
>
> A new project as been created at http://code.google.com/a/apache-extras.org/p/cassandra-jdbc, a current snapshot of the code from trunk has been imported, and the tests updated.
> I've configured commit notifications to be sent to commits@cassandra.apache.org, though this can be changed if people object.
> To the best of my knowledge, the only thing remaining is to configure the initial set of committers and admins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3300) relocate Java (JDBC) CQL driver

Posted by "Eric Evans (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124388#comment-13124388 ] 

Eric Evans commented on CASSANDRA-3300:
---------------------------------------

The attached patch, combined with an `svn rm drivers/' should be enough to call this a Done Deal.
                
> relocate Java (JDBC) CQL driver
> -------------------------------
>
>                 Key: CASSANDRA-3300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3300
>             Project: Cassandra
>          Issue Type: Task
>          Components: Drivers
>            Reporter: Eric Evans
>            Priority: Minor
>              Labels: cql
>         Attachments: v1-0001-CASSANDRA-3300-remove-driver-build-test.txt
>
>
> A new project as been created at http://code.google.com/a/apache-extras.org/p/cassandra-jdbc, a current snapshot of the code from trunk has been imported, and the tests updated.
> I've configured commit notifications to be sent to commits@cassandra.apache.org, though this can be changed if people object.
> To the best of my knowledge, the only thing remaining is to configure the initial set of committers and admins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3300) relocate Java (JDBC) CQL driver

Posted by "Rick Shaw (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126595#comment-13126595 ] 

Rick Shaw commented on CASSANDRA-3300:
--------------------------------------

I personally am fine with a Maven install/deploy/release mechinism. It can be a unified part of the build/test process (my pref as well) or just be reserved for when it is needed and use the traditional ANT tooling for build/test.

As I have mentioned before, I would like to restructure the (JDBC) trunk directory structure to match up with Maven default structure to make it easier for maven folks to check it in/out of a personal test jig that allows them to add their own POM if they wish. This restructure is very simple and will have no impact on an ANT build once the ANT tasks are adjusted.

I would very much like to see Stephen's POM.
                
> relocate Java (JDBC) CQL driver
> -------------------------------
>
>                 Key: CASSANDRA-3300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3300
>             Project: Cassandra
>          Issue Type: Task
>          Components: Drivers
>            Reporter: Eric Evans
>            Priority: Minor
>              Labels: cql
>         Attachments: v1-0001-CASSANDRA-3300-remove-driver-build-test.txt
>
>
> A new project as been created at http://code.google.com/a/apache-extras.org/p/cassandra-jdbc, a current snapshot of the code from trunk has been imported, and the tests updated.
> I've configured commit notifications to be sent to commits@cassandra.apache.org, though this can be changed if people object.
> To the best of my knowledge, the only thing remaining is to configure the initial set of committers and admins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3300) relocate Java (JDBC) CQL driver

Posted by "Stephen Connolly (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126446#comment-13126446 ] 

Stephen Connolly commented on CASSANDRA-3300:
---------------------------------------------

Here http://code.google.com/a/apache-extras.org/r/stephenalanconnolly-cassandra-jdbc-maven/ is my mavenized version.

Brief summary of the changes

    * Using cassandra-maven-plugin to start a cassandra server for running the integration tests.
    
    * Using build-helper-maven-plugin and resource filtering to ensure that the tests run on random ports each time
    
    * Using maven-failsafe-plugin so that integration tests are run while the cassandra server is running.
    
    * No need for the lib directory any more

Note, before you can build this you need to get cassandra-clientutils.jar into your local repository:

  mvn install:install-file \
    -DgroupId=org.apache.cassandra \
    -DartifactId=cassandra-clientutil \
    -Dversion=1.0.0-rc2-SNAPSHOT \
    -Dpackaging=jar \
    -Dfile=path/to/apache-cassandra-clientutil-1.0.0-rc2-SNAPSHOT.jar 

Then to run the whole build including integration tests

  mvn clean install

To just create the jars

  mvn package -DskipTests

Once we sort out promotion through oss.sonatype.org, making a release should be just

  mvn release:prepare release:perform

And then close and release the staging repo at oss.sonatype.org (same GUI as repository.apache.org)
                
> relocate Java (JDBC) CQL driver
> -------------------------------
>
>                 Key: CASSANDRA-3300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3300
>             Project: Cassandra
>          Issue Type: Task
>          Components: Drivers
>            Reporter: Eric Evans
>            Priority: Minor
>              Labels: cql
>         Attachments: v1-0001-CASSANDRA-3300-remove-driver-build-test.txt
>
>
> A new project as been created at http://code.google.com/a/apache-extras.org/p/cassandra-jdbc, a current snapshot of the code from trunk has been imported, and the tests updated.
> I've configured commit notifications to be sent to commits@cassandra.apache.org, though this can be changed if people object.
> To the best of my knowledge, the only thing remaining is to configure the initial set of committers and admins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3300) relocate Java (JDBC) CQL driver

Posted by "Eric Evans (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126699#comment-13126699 ] 

Eric Evans commented on CASSANDRA-3300:
---------------------------------------

bq. Using cassandra-maven-plugin to start a cassandra server for running the integration tests.

The idea is that at some point, there will be an established set of tests that each driver must implement.  An automated system will then run each driver's test suite against the current, and some number of older versions of Cassandra.  All of this will be used as a sort of acceptance criteria for blessing/certifying/whatever.

Currently, having the tests connect to an already running Cassandra instance seems like the best way to make that work consistently against an arbitrary number of drivers (i.e. let the test system spin-up different versions of Cassandra prior to each test run).

TL;DR
Unless you have alternatives to the above, please make sure to support a simple test mode that connects to Cassandra on a configurable host and port.
                
> relocate Java (JDBC) CQL driver
> -------------------------------
>
>                 Key: CASSANDRA-3300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3300
>             Project: Cassandra
>          Issue Type: Task
>          Components: Drivers
>            Reporter: Eric Evans
>            Priority: Minor
>              Labels: cql
>         Attachments: v1-0001-CASSANDRA-3300-remove-driver-build-test.txt
>
>
> A new project as been created at http://code.google.com/a/apache-extras.org/p/cassandra-jdbc, a current snapshot of the code from trunk has been imported, and the tests updated.
> I've configured commit notifications to be sent to commits@cassandra.apache.org, though this can be changed if people object.
> To the best of my knowledge, the only thing remaining is to configure the initial set of committers and admins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3300) relocate Java (JDBC) CQL driver

Posted by "Stephen Connolly (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126422#comment-13126422 ] 

Stephen Connolly commented on CASSANDRA-3300:
---------------------------------------------

Well ideally the cassandra-clientutil.jar needs to be set up to publish to Maven central... and there is also the question of publishing the JDBC driver to Maven central.

Since ASF does not allow its hardware to be used by apache-extras (correct me if I am wrong, please) we'll (i.e. I suspect me) have to use oss.sonatype.org to publish to central.

I have a mavenized version of the build which looks quite nice in a local git repo. I would be happy to maintain the build for this component if you guys are happy with it being mavenized and if I have permissions to push to the repo as I suspect it would be me running the release builds until others feel confident typing

mvn release:prepare release:perform -B

;-)

If you don't want to go the mavenized route, that's fine but it may require more hand-holding from me and I'd require others to do more of the work (i.e. I'm happy being a release manager if pom.xml and not build.xml... if build.xml I'm happy to support but not be a release manager)
                
> relocate Java (JDBC) CQL driver
> -------------------------------
>
>                 Key: CASSANDRA-3300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3300
>             Project: Cassandra
>          Issue Type: Task
>          Components: Drivers
>            Reporter: Eric Evans
>            Priority: Minor
>              Labels: cql
>         Attachments: v1-0001-CASSANDRA-3300-remove-driver-build-test.txt
>
>
> A new project as been created at http://code.google.com/a/apache-extras.org/p/cassandra-jdbc, a current snapshot of the code from trunk has been imported, and the tests updated.
> I've configured commit notifications to be sent to commits@cassandra.apache.org, though this can be changed if people object.
> To the best of my knowledge, the only thing remaining is to configure the initial set of committers and admins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3300) relocate Java (JDBC) CQL driver

Posted by "Stephen Connolly (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126881#comment-13126881 ] 

Stephen Connolly commented on CASSANDRA-3300:
---------------------------------------------

52c42c62d8033802360aa3fd79e8992a3dd18f90 adds the ability to test with a non-internal cassandra server, e.g.


  * If you define the property cassandra.rpc.port then the profiles will switch and instead of using a locally started cassandra server, it will use the cassandra server on the specified port (cassandra.host defaults to localhost but that can be overridden too).
    
        mvn -Dcassandra.rpc.port=9170 -Dcassandra.host=10.0.0.5
    
  * If you don't define the property it will launch a cassandra server via the cassandra-maven-plugin using random unused ports (and shut it down afterwards)

                
> relocate Java (JDBC) CQL driver
> -------------------------------
>
>                 Key: CASSANDRA-3300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3300
>             Project: Cassandra
>          Issue Type: Task
>          Components: Drivers
>            Reporter: Eric Evans
>            Priority: Minor
>              Labels: cql
>         Attachments: v1-0001-CASSANDRA-3300-remove-driver-build-test.txt
>
>
> A new project as been created at http://code.google.com/a/apache-extras.org/p/cassandra-jdbc, a current snapshot of the code from trunk has been imported, and the tests updated.
> I've configured commit notifications to be sent to commits@cassandra.apache.org, though this can be changed if people object.
> To the best of my knowledge, the only thing remaining is to configure the initial set of committers and admins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira