Mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Capwell <dcapw...@gmail.com>
Subject Re: DataMovementType impls
Date Fri, 25 Jul 2014 18:36:02 GMT
Sorry, copy/paste issue.  I was looking at DataSourceType and trying to see
how data gets saved and read between tasks.  The use-case is that we have
an internal service that might be helpful for us, so wanted to prototype
how possible it would be to share data over different mechanism.


On Fri, Jul 25, 2014 at 10:36 AM, Hitesh Shah <hitesh@apache.org> wrote:

> DataMovementEvent is a construct defined for an Input/Output pair to
> communicate with each other. The actual information being passed between
> the 2 is not understood by the framework except in that, it is a byte
> payload to be handed off from the source to the destination. Users are not
> expected to create derived classes of this type but to use the payload
> within the object to pass information around.
>
> For example, most of the currently implemented Input-Output pairs ( for
> shuffle/broadcast edges ) use the payload to pass the url specifying the
> location of the data to be fetched.
>
> thanks
> — HItesh
>
> On Jul 25, 2014, at 10:23 AM, David Capwell <dcapwell@gmail.com> wrote:
>
> > So going through the code and not sure where the real logic of
> DataMovementType gets used.
> >
> > I see that in DagTypeConverts it can convert between DataMovementType
> and PlanEdgeDataMovementType, but once that happens I don't really see a
> way to implement any of these types.  Where is the implementations defined?
> Is there any way to define my own impls?
> >
> > Thanks for your time.
>
>

Mime
View raw message