SPARKSQL problem with implementing Scala's Product interface

2014-07-10 Thread yadid
Hi All, I have a class with too many variables to be implemented as a case class, therefor I am using regular class that implements Scala's product interface. Like so: class Info () extends Product with Serializable { var param1 : String = var param2 : String = ... var param38:

RE: SPARKSQL problem with implementing Scala's Product interface

2014-07-10 Thread Haoming Zhang
it. Best, Haoming Date: Thu, 10 Jul 2014 09:02:18 -0700 From: ya...@media.mit.edu To: u...@spark.incubator.apache.org Subject: SPARKSQL problem with implementing Scala's Product interface Hi All, I have a class with too many variables to be implemented as a case class, therefor I am

Re: SPARKSQL problem with implementing Scala's Product interface

2014-07-10 Thread Zongheng Yang
there is a SimpleApp.class in classes folder, but I don't understand why spark-submit cannot find it. Best, Haoming Date: Thu, 10 Jul 2014 09:02:18 -0700 From: ya...@media.mit.edu To: u...@spark.incubator.apache.org Subject: SPARKSQL problem with implementing Scala's Product interface Hi All, I have a class

RE: SPARKSQL problem with implementing Scala's Product interface

2014-07-10 Thread Haoming Zhang
Hi Zongheng, Thanks a lot for your reply. I was edited my codes in my group project and I forgot to remove the package declaration...How silly! Regards, Haoming Date: Thu, 10 Jul 2014 12:00:40 -0700 Subject: Re: SPARKSQL problem with implementing Scala's Product interface From: zonghen