Re: RDD[Vector] Immutability issue

2015-12-29 Thread Vivekananda Venkateswaran
And if the content is not immutable, we can change its content, but >> cannot >> > add / remove data? >> > >> > >> > >> > >> > -- >> > View this message

Re: RDD[Vector] Immutability issue

2015-12-29 Thread Mark Hamstra
> I see, so in order the RDD to be completely immutable, its content > should be > > immutable as well. > > > > And if the content is not immutable, we can change its content, but > cannot > > add / remove data? > > > > > > > > > > -- > >

Re: RDD[Vector] Immutability issue

2015-12-29 Thread ai he
ely immutable, its content should be > immutable as well. > > And if the content is not immutable, we can change its content, but cannot > add / remove data? > > > > > -- > View this message in context: > http://apache-spark-developers-list.1001551.n3.nabble.com/RDD-Vec

Re: RDD[Vector] Immutability issue

2015-12-29 Thread salexln
I see, so in order the RDD to be completely immutable, its content should be immutable as well. And if the content is not immutable, we can change its content, but cannot add / remove data? -- View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/RDD-Vector

Re: RDD[Vector] Immutability issue

2015-12-29 Thread ai he
14814814814814817,0.09876543209876545] > [0.0,0.49119985188436205] > > > > But how can this be that my method changes the Immutable RDD? > > BTW, the signature of the train method, is the following: > > train( data: RDD[Vector],

Re: RDD[Vector] Immutability issue

2015-12-28 Thread salexln
.n3.nabble.com/RDD-Vector-Immutability-issue-tp15827p15829.html Sent from the Apache Spark Developers List mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org For additional commands, e

Re: RDD[Vector] Immutability issue

2015-12-28 Thread Yu Ishikawa
ext: http://apache-spark-developers-list.1001551.n3.nabble.com/RDD-Vector-Immutability-issue-tp15827p15828.html Sent from the Apache Spark Developers List mailing list archive at Nabble.com. - To unsubscribe, e-mail: de

RDD[Vector] Immutability issue

2015-12-28 Thread salexln
http://apache-spark-developers-list.1001551.n3.nabble.com/RDD-Vector-Immutability-issue-tp15827.html Sent from the Apache Spark Developers List mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@spark.apa