You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/01/18 14:58:39 UTC

[jira] [Updated] (SPARK-2153) CassandraTest fails for newer Cassandra due to case insensitive key space

     [ https://issues.apache.org/jira/browse/SPARK-2153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen updated SPARK-2153:
-----------------------------
        Labels:   (was: examples)
    Issue Type: Improvement  (was: Bug)

[~vishnusubramanian] would this be resolved if the table and col names were simply all lower case in the example?

> CassandraTest fails for newer Cassandra due to case insensitive key space
> -------------------------------------------------------------------------
>
>                 Key: SPARK-2153
>                 URL: https://issues.apache.org/jira/browse/SPARK-2153
>             Project: Spark
>          Issue Type: Improvement
>          Components: Examples
>    Affects Versions: 1.0.0
>            Reporter: vishnu
>            Priority: Minor
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The Spark Example CassandraTest.scala does cannot be built on newer versions of cassandra. I tried it on Cassandra 2.0.8. 
> It is because Cassandra looks case sensitive for the key spaces and stores all the keyspaces in lowercase. And in the example the KeySpace is "casDemo" . So the program fails with an error stating keyspace not found.
> The new Cassandra jars do not have the org.apache.cassandra.db.IColumn .So instead we have to use org.apache.cassandra.db.Column.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org