Re: [BlockMatrix] multiply is an action or a transformation ?

2017-08-20 Thread Yanbo Liang
BlockMatrix.multiply will return another BlockMatrix. Inside this function, there are lots of steps of RDD operations, but most of them are transformation. If you don't trigger to obtain the blocks(which is an RDD of [(Int, Int, Matrix)] of the result BlockMatrix, the job will not run. Thanks

[BlockMatrix] multiply is an action or a transformation ?

2017-08-13 Thread Jose Francisco Saray Villamizar
Hi Everyone, Sorry if the question can be simple, or confusing, but I have not see anywhere in documentation the anwser: Is multiply method in BlockMatrix a transformation or an action. I mean, in order that the multiplication is effectively done it is enough with calling : m1.multiply(m2), Or