{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/6420","repository_url":"https://api.github.com/repos/travis-ci/travis-ci","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/6420/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/6420/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/6420/events","html_url":"https://github.com/travis-ci/travis-ci/issues/6420","id":169809720,"number":6420,"title":"Cassandra offerings are very outdated","user":{"login":"alexflav23","id":1645142,"avatar_url":"https://avatars.githubusercontent.com/u/1645142?v=3","gravatar_id":"","url":"https://api.github.com/users/alexflav23","html_url":"https://github.com/alexflav23","followers_url":"https://api.github.com/users/alexflav23/followers","following_url":"https://api.github.com/users/alexflav23/following{/other_user}","gists_url":"https://api.github.com/users/alexflav23/gists{/gist_id}","starred_url":"https://api.github.com/users/alexflav23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexflav23/subscriptions","organizations_url":"https://api.github.com/users/alexflav23/orgs","repos_url":"https://api.github.com/users/alexflav23/repos","events_url":"https://api.github.com/users/alexflav23/events{/privacy}","received_events_url":"https://api.github.com/users/alexflav23/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/travis-ci/travis-ci/labels/travis-cookbooks","name":"travis-cookbooks","color":"207de5"},{"url":"https://api.github.com/repos/travis-ci/travis-ci/labels/upgrade-request","name":"upgrade-request","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"meatballhat","id":45143,"avatar_url":"https://avatars.githubusercontent.com/u/45143?v=3","gravatar_id":"","url":"https://api.github.com/users/meatballhat","html_url":"https://github.com/meatballhat","followers_url":"https://api.github.com/users/meatballhat/followers","following_url":"https://api.github.com/users/meatballhat/following{/other_user}","gists_url":"https://api.github.com/users/meatballhat/gists{/gist_id}","starred_url":"https://api.github.com/users/meatballhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meatballhat/subscriptions","organizations_url":"https://api.github.com/users/meatballhat/orgs","repos_url":"https://api.github.com/users/meatballhat/repos","events_url":"https://api.github.com/users/meatballhat/events{/privacy}","received_events_url":"https://api.github.com/users/meatballhat/received_events","type":"User","site_admin":false},"assignees":[{"login":"meatballhat","id":45143,"avatar_url":"https://avatars.githubusercontent.com/u/45143?v=3","gravatar_id":"","url":"https://api.github.com/users/meatballhat","html_url":"https://github.com/meatballhat","followers_url":"https://api.github.com/users/meatballhat/followers","following_url":"https://api.github.com/users/meatballhat/following{/other_user}","gists_url":"https://api.github.com/users/meatballhat/gists{/gist_id}","starred_url":"https://api.github.com/users/meatballhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meatballhat/subscriptions","organizations_url":"https://api.github.com/users/meatballhat/orgs","repos_url":"https://api.github.com/users/meatballhat/repos","events_url":"https://api.github.com/users/meatballhat/events{/privacy}","received_events_url":"https://api.github.com/users/meatballhat/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-08-07T18:41:52Z","updated_at":"2016-08-08T17:48:29Z","closed_at":null,"body":"Hi guys,\r\n\r\nTravis is starting to get very seriously out of date with Cassandra features, it's becoming difficult to use, especially since `sudo` is not possible on container infrastructure and therefore I don't think users can manually install this. In the pre-container days the manual setup wouldn't have been a problem, but there should be an option to have a bunch of Cassandra variants pre-installed.\r\n\r\n### Considerations\r\n\r\nYou have several possible issues to address here, namely if people want to test with DSE or for instance something like Datomic, there is a known Cassandra version limit supported. The longest term\r\n\r\n### Suggested fix\r\n\r\nA variation of the `services: - cassandra` initialisation bit already supported by Travis would be best suited if it accounted for the Cassandra version, and that kind of syntax was previously suggested. E.g, having the ability to call:\r\n\r\n```\r\nservices:\r\n  - cassandra32\r\n```\r\n\r\nThis can get problematic in the sense that all the default directories would likely also need post-fixing for the sake of completeness, but assuming no one wants to use more than one Cassandra version for the same build, you could probably skip this step completely. It would look like this:\r\n\r\n```\r\n- /var/lib/cassandra$version\r\n- /var/log/cassandra$version\r\n```\r\n\r\nAs the author of the Scala driver for Cassandra, I really wouldn't mind the ability to test several major Cassandra versions per build, using `env.matrix`, however this is currently impossible, and this certainly goes beyond the current problem.\r\n\r\n### Which version to install\r\n\r\nThe newest available version is already `3.7`. The changelog is [here](https://git1-us-west.apache.org/repos/asf?p=cassandra.git;a=blob_plain;f=CHANGES.txt;hb=refs/tags/cassandra-3.7), but given the release `2.0.9` you are currently using dates back to June 30th, 2014, using Travis with Cassandra based applications is becoming very very problematic.\r\n\r\nI'm sure many others can be counted here, we are now in a place where we are forced to consider other build tools because a dependency bump takes 2 years, all our internal apps have increasingly more test level workaround the Travis Pro version of C*. There are major CQL changes that we cannot work around, and the list of features in our applications which remain un-tested because tests are disabled at build time is an amount of technical debt we cannot ignore.\r\n\r\nWe have taken the alternative approach of using our own `phantom-sbt` plugin which captures a very small subsegment of Cassandra users, namely those who have SBT based projects. This allows spawning an embedded in memory instance for tests to run against, but other users who do not share this setup cannot benefit from the approach.\r\n\r\nAre there any plans to address this?\r\n\r\nRegards."},"comment":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/comments/238318648","html_url":"https://github.com/travis-ci/travis-ci/issues/6420#issuecomment-238318648","issue_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/6420","id":238318648,"user":{"login":"meatballhat","id":45143,"avatar_url":"https://avatars.githubusercontent.com/u/45143?v=3","gravatar_id":"","url":"https://api.github.com/users/meatballhat","html_url":"https://github.com/meatballhat","followers_url":"https://api.github.com/users/meatballhat/followers","following_url":"https://api.github.com/users/meatballhat/following{/other_user}","gists_url":"https://api.github.com/users/meatballhat/gists{/gist_id}","starred_url":"https://api.github.com/users/meatballhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meatballhat/subscriptions","organizations_url":"https://api.github.com/users/meatballhat/orgs","repos_url":"https://api.github.com/users/meatballhat/repos","events_url":"https://api.github.com/users/meatballhat/events{/privacy}","received_events_url":"https://api.github.com/users/meatballhat/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T17:48:29Z","updated_at":"2016-08-08T17:48:29Z","body":"One possible solution would be to handle such things at travis-build time, perhaps with the use of https://github.com/pcmanus/ccm.  This is how the gocql project does it, fwiw:\r\n\r\nInstalling ccm: https://github.com/gocql/gocql/blob/b2caded3d0f457e42515c06d4092c02055cebaa0/.travis.yml#L33-L35\r\nUsing ccm: https://github.com/gocql/gocql/blob/b2caded3d0f457e42515c06d4092c02055cebaa0/integration.sh"}}
{"actor":{"display_login":"meatballhat"}}