Skip to content

Conversation

RussellSpitzer
Copy link
Contributor

Write a message for this pull request. The first block
of text is the title and the rest is description.

Changes:

cba7613 (Russell Spitzer, 3 days ago)
DSP-9944: Add Integration tests for Gradle and Maven

All tests should be run by Jenkins on PR

48111fb (Russell Spitzer, 4 days ago)
DSP-9944: Add SBT Integration Tests using Spark Embedded Cassandra

Adds test Resources directory matching the 1.6 version of the Spark
Cassandra Connector and compatiblet template files for C* 2.1,2.2, and 3

Dse and OSS build files modified so these tests can be run and can be run
from within an IDE.

Adds test Resources directory matching the 1.6 version of the Spark
Cassandra Connector and compatiblet template files for C* 2.1,2.2, and
3

Dse and OSS build files modified so these tests can be run and can be
run from within an IDE.
@RussellSpitzer
Copy link
Contributor Author

test this please

2 similar comments
@RussellSpitzer
Copy link
Contributor Author

test this please

@RussellSpitzer
Copy link
Contributor Author

test this please

@RussellSpitzer
Copy link
Contributor Author

test-this-please

@RussellSpitzer
Copy link
Contributor Author

test this please

@RussellSpitzer
Copy link
Contributor Author

test this please

1 similar comment
@RussellSpitzer
Copy link
Contributor Author

test this please

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

@RussellSpitzer
Copy link
Contributor Author

test this please

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

3 similar comments
@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

All tests should be run by Jenkins on PR
@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

12 similar comments
@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with success

@jtgrabowski
Copy link
Collaborator

Is this ready for review?

@RussellSpitzer
Copy link
Contributor Author

@jtgrabowski I think this is good for now, Eventually we should get the SBT builds automatically running on Jenkins as well, at the moment I keep getting some bizarre random error. I would also appreciate if @bcantoni could pretend be a new user and make sure all the projects import correctly and there aren't any gotchas I left in there.

@jtgrabowski
Copy link
Collaborator

+1

@bcantoni
Copy link

bcantoni commented Nov 7, 2016

I'll give it a "new user" check.

@RussellSpitzer
Copy link
Contributor Author

Thanks @bcantoni :) I just assume your environment is closer to fresh than ours ;)

@jtgrabowski
Copy link
Collaborator

@RussellSpitzer build.gradle for scala has duplicated def connectorVersion = "1.6.0"

// Please make sure that following dependencies have versions corresponding to the ones in your cluster.
// Note that spark-cassandra-connector should be provided with '--packages' flag to spark-submit command.
def scalaVersion = "2.10"
def connectorVersion = "1.6.0"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

duplicate definition

@bcantoni
Copy link

I've run through everything on a clean Ubuntu 14.04 VM and it looks good. Some feedback & questions:

  1. Let's add a paragraph to the readme explaining about the new tests with embedded Cassandra; I don't think it needs to be super detailed, but at least summarize what we've added
  2. It looks like tests are only added for the Scala projects? (that's fine if so, just want to make sure that was the intent)
  3. At the end of scala/maven/oss, I always get an error when stopping embedded C*:
Run completed in 13 seconds, 418 milliseconds.
Total number of tests run: 3
Suites: completed 2, aborted 0
Tests: succeeded 3, failed 0, canceled 0, ignored 0, pending 0
All tests passed.
========-------- Stopping Embedded Cassandra at 10000 --------========
ERROR 15:52:11,337 com.datastax.driver.core.ControlConnection$1 (ControlConnection.java:151) - [Control connection] Cannot connect to any host, scheduling retry in 1000 milliseconds
 INFO 15:52:13,581 org.apache.spark.Logging$class (Logging.scala:58) - Disconnected from Cassandra cluster: Test Cluster 0
 INFO 15:52:13,583 org.apache.spark.Logging$class (Logging.scala:58) - Successfully executed shutdown hook: Clearing session cache for C* connector

@RussellSpitzer
Copy link
Contributor Author

  1. Sure i'll add that to the readme
  2. I only did code for scala atm, it took a while so I"ll put off doing java for a while
  3. I have no idea why that is... probably some race condition in the shutdown. I'm fine with just leaving it like that though ....

@bcantoni
Copy link

bcantoni commented Dec 9, 2016

@RussellSpitzer I added a commit here to expand a bit on how to run the various examples, with updated class names. I think the only thing left would be if you could add a brief mention explaining the new tests with embedded Cassandra.

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

4 similar comments
@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with success

@ds-jenkins-builds
Copy link

Build against Scala 2.11 finished with failure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants