ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Setrakyan <dsetrak...@apache.org>
Subject Re: peer deployment for lambdas
Date Thu, 16 Apr 2015 15:16:13 GMT
On Thu, Apr 16, 2015 at 10:08 AM, Yakov Zhdanov <yzhdanov@gridgain.com>
wrote:

> DataStreamer has deployClass() property for cases when automatic resolution
> is impossible
>

I don't really like this solution. Every time you add a step like that, you
add a possibility for user to skip it  and then 100 forum questions follow.
Can we do it automatically? Why not call deployClass ourselves in the
StreamTransformer.from(...) method?


>
> --
> Yakov Zhdanov, Director R&D
> *GridGain Systems*
> www.gridgain.com
>
> 2015-04-14 20:08 GMT+03:00 Dmitriy Setrakyan <dsetrakyan@apache.org>:
>
> > Ouch...
> >
> > Is there any way to make it work? For example, can we do explicit class
> > deployment directly from StreamTrasformer.from(...) method?
> >
> > D.
> >
> > On Tue, Apr 14, 2015 at 9:11 AM, Yakov Zhdanov <yzhdanov@apache.org>
> > wrote:
> >
> > > Dmitriy,
> > >
> > > Lambdas deployment should work - we have tests for it.
> > >
> > > Can you make sure you don't wrap lambda in anything available from
> > standard
> > > classpath? Like here -
> org.apache.ignite.stream.StreamTransformer#from().
> > > This may not work and you will need to manually set deployment class.
> > >
> > > --Yakov
> > >
> > > 2015-03-22 11:32 GMT+03:00 Dmitriy Setrakyan <dsetrakyan@apache.org>:
> > >
> > > > Igniters,
> > > >
> > > > I was playing with peer deployment for lambdas in sprint-2 and it
> looks
> > > > like lambdas from Java8 cannot be automatically deployed. Is there a
> > > reason
> > > > for that?
> > > >
> > > > Yakov, I think you may have conducted some experiments for this in
> the
> > > > past. Can you please chime in?
> > > >
> > > > Thanks,
> > > > D.
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message