Re: Regarding using Scala to develop Apex app.

2016-07-15 Thread hsy...@gmail.com
BTW Akshay, if you are using anonymous function as a field in the operator,
it's very likely that your function is stateless?  If that's the case, you
can try to mark it transient (
http://www.scala-lang.org/api/rc2/scala/transient.html)


On Thu, Jul 14, 2016 at 11:06 PM, Akshay S Harale <
akshay.har...@synerzip.com> wrote:

> Hello,
>
> I found one blog post on writing apex app in scala
> .
> First I tried simple app it worked very well but when I introduced some
> anonymous functions in program, it started throwing kryo serialisation
> exception:
> *com.esotericsoftware.kryo.KryoException: Class cannot be created (missing
> no-arg constructor): com.sample.Aggregator$$anon$1*
>
> My question is : Will Apex have full support for scala in future ?
>
> Regards,
> Akshay S. Harale
> Software Developer @ Synerzip
> Skype – akshayharale
>
> This e-mail, including any attached files, may contain confidential and
> privileged information for the sole use of the intended recipient. Any
> review, use, distribution, or disclosure by others is strictly prohibited.
> If you are not the intended recipient (or authorized to receive information
> for the intended recipient), please contact the sender by reply e-mail and
> delete all copies of this message.
>
>


Re: Regarding using Scala to develop Apex app.

2016-07-15 Thread Priyanka Gugale
I have not tried it yet but SBT is just another build tool like maven or
ant, so the package created using SBT should run on Apex platform.

-Priyanka

On Fri, Jul 15, 2016 at 3:02 PM, Yogi Devendra 
wrote:

> Akshay, Ankit
>
> Yes. Apex would have full support for scala in future. We understand that
> many developers would love to use scala or python binding. We would
> definitely consider this as a user feedback and it will be funneled through
> the items listed for the project roadmap.
>
> But, it would be hard to give specific timeline regarding this. Priorities
> are decided based on the importance of the feature as well as number of
> people are asking for it.
>
> On a side note, you can also contribute on this effort.
>
>
> ~ Yogi
>
> On 15 July 2016 at 11:44, Ankit Sarraf  wrote:
>
>> Interesting. Thanks for sharing the link. I surly feel that if
>> DataTorrent has to expand its roots, it will have to evolve to support as
>> many languages seamlessly as possible. So it seems to have complete support
>> for Scala in future.
>>
>> Also, curious to know if people at DT are thinking of allowing SBT
>> application build with the apps?
>>
>> On Jul 14, 2016 11:07 PM, "Akshay S Harale" 
>> wrote:
>>
>> Hello,
>>
>> I found one blog post on writing apex app in scala
>> .
>> First I tried simple app it worked very well but when I introduced some
>> anonymous functions in program, it started throwing kryo serialisation
>> exception:
>> *com.esotericsoftware.kryo.KryoException: Class cannot be created
>> (missing no-arg constructor): com.sample.Aggregator$$anon$1*
>>
>> My question is : Will Apex have full support for scala in future ?
>>
>> Regards,
>> Akshay S. Harale
>> Software Developer @ Synerzip
>> Skype – akshayharale
>>
>> This e-mail, including any attached files, may contain confidential and
>> privileged information for the sole use of the intended recipient. Any
>> review, use, distribution, or disclosure by others is strictly prohibited.
>> If you are not the intended recipient (or authorized to receive information
>> for the intended recipient), please contact the sender by reply e-mail and
>> delete all copies of this message.
>>
>>
>>
>


Re: Regarding using Scala to develop Apex app.

2016-07-15 Thread Yogi Devendra
Akshay, Ankit

Yes. Apex would have full support for scala in future. We understand that
many developers would love to use scala or python binding. We would
definitely consider this as a user feedback and it will be funneled through
the items listed for the project roadmap.

But, it would be hard to give specific timeline regarding this. Priorities
are decided based on the importance of the feature as well as number of
people are asking for it.

On a side note, you can also contribute on this effort.


~ Yogi

On 15 July 2016 at 11:44, Ankit Sarraf  wrote:

> Interesting. Thanks for sharing the link. I surly feel that if DataTorrent
> has to expand its roots, it will have to evolve to support as many
> languages seamlessly as possible. So it seems to have complete support for
> Scala in future.
>
> Also, curious to know if people at DT are thinking of allowing SBT
> application build with the apps?
>
> On Jul 14, 2016 11:07 PM, "Akshay S Harale" 
> wrote:
>
> Hello,
>
> I found one blog post on writing apex app in scala
> .
> First I tried simple app it worked very well but when I introduced some
> anonymous functions in program, it started throwing kryo serialisation
> exception:
> *com.esotericsoftware.kryo.KryoException: Class cannot be created (missing
> no-arg constructor): com.sample.Aggregator$$anon$1*
>
> My question is : Will Apex have full support for scala in future ?
>
> Regards,
> Akshay S. Harale
> Software Developer @ Synerzip
> Skype – akshayharale
>
> This e-mail, including any attached files, may contain confidential and
> privileged information for the sole use of the intended recipient. Any
> review, use, distribution, or disclosure by others is strictly prohibited.
> If you are not the intended recipient (or authorized to receive information
> for the intended recipient), please contact the sender by reply e-mail and
> delete all copies of this message.
>
>
>


Re: Regarding using Scala to develop Apex app.

2016-07-15 Thread Ankit Sarraf
Interesting. Thanks for sharing the link. I surly feel that if DataTorrent
has to expand its roots, it will have to evolve to support as many
languages seamlessly as possible. So it seems to have complete support for
Scala in future.

Also, curious to know if people at DT are thinking of allowing SBT
application build with the apps?

On Jul 14, 2016 11:07 PM, "Akshay S Harale" 
wrote:

Hello,

I found one blog post on writing apex app in scala
.
First I tried simple app it worked very well but when I introduced some
anonymous functions in program, it started throwing kryo serialisation
exception:
*com.esotericsoftware.kryo.KryoException: Class cannot be created (missing
no-arg constructor): com.sample.Aggregator$$anon$1*

My question is : Will Apex have full support for scala in future ?

Regards,
Akshay S. Harale
Software Developer @ Synerzip
Skype – akshayharale

This e-mail, including any attached files, may contain confidential and
privileged information for the sole use of the intended recipient. Any
review, use, distribution, or disclosure by others is strictly prohibited.
If you are not the intended recipient (or authorized to receive information
for the intended recipient), please contact the sender by reply e-mail and
delete all copies of this message.


Regarding using Scala to develop Apex app.

2016-07-15 Thread Akshay S Harale
Hello,

I found one blog post on writing apex app in scala
.
First I tried simple app it worked very well but when I introduced some
anonymous functions in program, it started throwing kryo serialisation
exception:
*com.esotericsoftware.kryo.KryoException: Class cannot be created (missing
no-arg constructor): com.sample.Aggregator$$anon$1*

My question is : Will Apex have full support for scala in future ?

Regards,
Akshay S. Harale
Software Developer @ Synerzip
Skype – akshayharale

-- 
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient. Any 
review, use, distribution, or disclosure by others is strictly prohibited. 
If you are not the intended recipient (or authorized to receive information 
for the intended recipient), please contact the sender by reply e-mail and 
delete all copies of this message.