adding element into MutableList throws an error type mismatch

2014-10-15 Thread Henry Hung
Hi All, Could someone shed a light to why when adding element into MutableList can result in type mistmatch, even if I'm sure that the class type is right? Below is the sample code I run in spark 1.0.2 console, at the end of line, there is an error type mismatch: Welcome to

Re: adding element into MutableList throws an error type mismatch

2014-10-15 Thread Sean Owen
Another instance of https://issues.apache.org/jira/browse/SPARK-1199 , fixed in subsequent versions. On Wed, Oct 15, 2014 at 7:40 AM, Henry Hung ythu...@winbond.com wrote: Hi All, Could someone shed a light to why when adding element into MutableList can result in type mistmatch, even if