Re: Problem creating objects through reflection

2014-04-25 Thread Piotr Kołaczkowski
why this causes your problem, but its probably worth > filing a JIRA about it. > > Here is another issues with classes defined in the REPL. Not sure if it is > related, but I'd be curious if the workaround helps you: > https://issues.apache.org/jira/browse/SPARK-1199 &g

Problem creating objects through reflection

2014-04-24 Thread Piotr Kołaczkowski
Hi, I'm working on Cassandra-Spark integration and I hit a pretty severe problem. One of the provided functionality is mapping Cassandra rows into objects of user-defined classes. E.g. like this: class MyRow(val key: String, val data: Int) sc.cassandraTable("keyspace", "table").select("key", "dat