ClassCastException while running a simple wordCount

2016-10-10 Thread vaibhav thapliyal
Dear All, I am getting a ClassCastException Error when using the JAVA API to run the wordcount example from the docs. Here is the log that I got: 16/10/10 11:52:12 ERROR Executor: Exception in task 0.2 in stage 0.0 (TID 4) java.lang.ClassCastException: cannot assign instance of scala.collection.

Re: ClassCastException while running a simple wordCount

2016-10-10 Thread vaibhav thapliyal
dhanshu.jang...@cloudwick.com> wrote: > Seems like a straightforward error it's trying to cast something as a list > which is not a list or cannot be casted. Are you using standard example > code? Can u send the input and code? > > On Oct 10, 2016 9:05 AM, "vaibhav thapliyal"

Re: ClassCastException while running a simple wordCount

2016-10-10 Thread vaibhav thapliyal
>> Seems like a straightforward error it's trying to cast something as a >> list which is not a list or cannot be casted. Are you using standard >> example code? Can u send the input and code? >> >> On Oct 10, 2016 9:05 AM, "vaibhav thapliyal" < >> v

Re: ClassCastException while running a simple wordCount

2016-10-11 Thread vaibhav thapliyal
ill cause the spark-submit script to use the launcher determined by >> that environment variable, regardless of the directory from which it was >> called. >> >> On Mon, Oct 10, 2016 at 3:42 AM, kant kodali wrote: >> >>> +1 Wooho I have the same problem. I have be