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
Yanbo

On Sun, Aug 13, 2017 at 10:30 PM, Jose Francisco Saray Villamizar <
jsa...@gmail.com> wrote:

> 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 do I have to make something like m1.multiply(m2).count().
>
> Thanks.
>
> --
> --
> Buen dia, alegria !!
> José Francisco Saray Villamizar
> cel +33 6 13710693 <+33%206%2013%2071%2006%2093>
> Lyon, France
>
>

Reply via email to