[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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[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: - Target Version/s: (was: 1.0.0) 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: Bug Components: Examples Affects Versions: 1.0.0 Reporter: vishnu Priority: Minor Labels: examples 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[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: - Fix Version/s: (was: 1.0.0) 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: Bug Components: Examples Affects Versions: 1.0.0 Reporter: vishnu Priority: Minor Labels: examples 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[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: - Summary: CassandraTest fails for newer Cassandra due to case insensitive key space (was: Spark Examples) 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: Bug Components: Examples Affects Versions: 1.0.0 Reporter: vishnu Priority: Minor Labels: examples Fix For: 1.0.0 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org