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
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