You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@samza.apache.org by Maksim Logvinenko <ml...@gmail.com> on 2017/03/17 20:26:38 UTC

[DISCUSS] Support Scala 2.12

Hi guys,

I’ve created JIRA and already submitted patch which adds support of scala
2.12. Here is the ticket: https://issues.apache.org/jira/browse/SAMZA-1135.
Nothing serious: I’ve removed JavaConversions usage (because it’s marked as
deprecated now) and bumped kafka and scalatest versions since previous
versions don’t have scala 2.12 support. I run ./bin/check-all.sh on my
laptop and it was successful for all scala versions (2.10, 2.11 and 2.12)
and for both YARN versions.

Thanks,
Maxim Logvinenko

Re: [DISCUSS] Support Scala 2.12

Posted by Maksim Logvinenko <ml...@gmail.com>.
Hi Jagadish,

I’ve fixed compile errors, could you please check again?

Best regards,
Maxim Logvinenko

On 31 March 2017 at 10:22:01, Jagadish Venkatraman (jagadish1989@gmail.com)
wrote:

Maxim,

I tried to merge the PR but I was getting some build errors. Perhaps, it's
due to issues in my local environment.

Can you please run ./bin/check-all.sh after applying your PR on current
master? Let me know if it succeeds.

Thanks,
Jagadish

On Thu, Mar 30, 2017 at 3:46 PM, Prateek Maheshwari <
pmaheshwari@linkedin.com.invalid> wrote:

> Hi Maksim,
>
> Thanks for the PR comments and updates. Looks good to me too.
>
> - Prateek
>
> On Wed, Mar 29, 2017 at 12:17 PM, Prateek Maheshwari <
> pmaheshwari@linkedin.com> wrote:
>
> > Hi Maksim,
> >
> > I'm in favor of adding Scala 2.12 support as well, thanks for the PR.
> > I have a few questions about the way JavaConverter APIs and some of the
> > conversions in the PR work. I'll try it out locally and update the PR
> with
> > feedback/questions soon.
> >
> > Thanks,
> > Prateek
> >
> >
> > On Tue, Mar 28, 2017 at 3:01 PM, Maksim Logvinenko <
> mlogvinenko@gmail.com>
> > wrote:
> >
> >> Hi guys,
> >>
> >> As far as I can understand nobody is against having Scala 2.12 support
> in
> >> Samza master. Can we merge PR then?
> >>
> >> Best regards,
> >> Maxim Logvinenko
> >>
> >> On 17 March 2017 at 23:42:16, Navina Ramesh
> (nramesh@linkedin.com.invalid
> >> )
> >> wrote:
> >>
> >> Thanks for creating the DISCUSS email!
> >>
> >> This is good. It's a good idea to update to 2.12 since it looks like
we
> >> are
> >> fully backward compatible with older versions. +1 from me.
> >>
> >> Cheers!
> >> Navina
> >>
> >> On Fri, Mar 17, 2017 at 1:34 PM, Jagadish Venkatraman <
> >> jagadish1989@gmail.com> wrote:
> >>
> >> > Thanks for starting this discussion and the patch. +1 for supporting
> >> scala
> >> > 2.12. I assume the changes are fully backwards compatible with scala
> >> 2.10,
> >> > 2.11 (as evidenced by your check-all)?
> >> >
> >> > Also, another observation is that the generated Samza binaries will
> have
> >> > 2.12 as the suffix for the future release (I this should be totally
> OK).
> >> >
> >> >
> >> > On Fri, Mar 17, 2017 at 1:26 PM, Maksim Logvinenko <
> >> mlogvinenko@gmail.com>
> >>
> >> > wrote:
> >> >
> >> > > Hi guys,
> >> > >
> >> > > I’ve created JIRA and already submitted patch which adds support
of
> >> scala
> >> > > 2.12. Here is the ticket: https://issues.apache.org/
> >> > jira/browse/SAMZA-1135
> >> > > .
> >> > > Nothing serious: I’ve removed JavaConversions usage (because it’s
> >> marked
> >> > as
> >> > > deprecated now) and bumped kafka and scalatest versions since
> previous
> >> > > versions don’t have scala 2.12 support. I run ./bin/check-all.sh
on
> my
> >> > > laptop and it was successful for all scala versions (2.10, 2.11
and
> >> 2.12)
> >> > > and for both YARN versions.
> >> > >
> >> > > Thanks,
> >> > > Maxim Logvinenko
> >> > >
> >> >
> >> >
> >> >
> >> > --
> >> > Jagadish V,
> >> > Graduate Student,
> >> > Department of Computer Science,
> >> > Stanford University
> >> >
> >>
> >>
> >>
> >> --
> >> Navina R.
> >>
> >
> >
>



-- 
Jagadish V,
Graduate Student,
Department of Computer Science,
Stanford University

Re: [DISCUSS] Support Scala 2.12

Posted by Jagadish Venkatraman <ja...@gmail.com>.
Maxim,

I tried to merge the PR but I was getting some build errors. Perhaps, it's
due to issues in my local environment.

Can you please run ./bin/check-all.sh after applying your PR on current
master? Let me know if it succeeds.

Thanks,
Jagadish

On Thu, Mar 30, 2017 at 3:46 PM, Prateek Maheshwari <
pmaheshwari@linkedin.com.invalid> wrote:

> Hi Maksim,
>
> Thanks for the PR comments and updates. Looks good to me too.
>
> - Prateek
>
> On Wed, Mar 29, 2017 at 12:17 PM, Prateek Maheshwari <
> pmaheshwari@linkedin.com> wrote:
>
> > Hi Maksim,
> >
> > I'm in favor of adding Scala 2.12 support as well, thanks for the PR.
> > I have a few questions about the way JavaConverter APIs and some of the
> > conversions in the PR work. I'll try it out locally and update the PR
> with
> > feedback/questions soon.
> >
> > Thanks,
> > Prateek
> >
> >
> > On Tue, Mar 28, 2017 at 3:01 PM, Maksim Logvinenko <
> mlogvinenko@gmail.com>
> > wrote:
> >
> >> Hi guys,
> >>
> >> As far as I can understand nobody is against having Scala 2.12 support
> in
> >> Samza master. Can we merge PR then?
> >>
> >> Best regards,
> >> Maxim Logvinenko
> >>
> >> On 17 March 2017 at 23:42:16, Navina Ramesh
> (nramesh@linkedin.com.invalid
> >> )
> >> wrote:
> >>
> >> Thanks for creating the DISCUSS email!
> >>
> >> This is good. It's a good idea to update to 2.12 since it looks like we
> >> are
> >> fully backward compatible with older versions. +1 from me.
> >>
> >> Cheers!
> >> Navina
> >>
> >> On Fri, Mar 17, 2017 at 1:34 PM, Jagadish Venkatraman <
> >> jagadish1989@gmail.com> wrote:
> >>
> >> > Thanks for starting this discussion and the patch. +1 for supporting
> >> scala
> >> > 2.12. I assume the changes are fully backwards compatible with scala
> >> 2.10,
> >> > 2.11 (as evidenced by your check-all)?
> >> >
> >> > Also, another observation is that the generated Samza binaries will
> have
> >> > 2.12 as the suffix for the future release (I this should be totally
> OK).
> >> >
> >> >
> >> > On Fri, Mar 17, 2017 at 1:26 PM, Maksim Logvinenko <
> >> mlogvinenko@gmail.com>
> >>
> >> > wrote:
> >> >
> >> > > Hi guys,
> >> > >
> >> > > I’ve created JIRA and already submitted patch which adds support of
> >> scala
> >> > > 2.12. Here is the ticket: https://issues.apache.org/
> >> > jira/browse/SAMZA-1135
> >> > > .
> >> > > Nothing serious: I’ve removed JavaConversions usage (because it’s
> >> marked
> >> > as
> >> > > deprecated now) and bumped kafka and scalatest versions since
> previous
> >> > > versions don’t have scala 2.12 support. I run ./bin/check-all.sh on
> my
> >> > > laptop and it was successful for all scala versions (2.10, 2.11 and
> >> 2.12)
> >> > > and for both YARN versions.
> >> > >
> >> > > Thanks,
> >> > > Maxim Logvinenko
> >> > >
> >> >
> >> >
> >> >
> >> > --
> >> > Jagadish V,
> >> > Graduate Student,
> >> > Department of Computer Science,
> >> > Stanford University
> >> >
> >>
> >>
> >>
> >> --
> >> Navina R.
> >>
> >
> >
>



-- 
Jagadish V,
Graduate Student,
Department of Computer Science,
Stanford University

Re: [DISCUSS] Support Scala 2.12

Posted by Prateek Maheshwari <pm...@linkedin.com.INVALID>.
Hi Maksim,

Thanks for the PR comments and updates. Looks good to me too.

- Prateek

On Wed, Mar 29, 2017 at 12:17 PM, Prateek Maheshwari <
pmaheshwari@linkedin.com> wrote:

> Hi Maksim,
>
> I'm in favor of adding Scala 2.12 support as well, thanks for the PR.
> I have a few questions about the way JavaConverter APIs and some of the
> conversions in the PR work. I'll try it out locally and update the PR with
> feedback/questions soon.
>
> Thanks,
> Prateek
>
>
> On Tue, Mar 28, 2017 at 3:01 PM, Maksim Logvinenko <ml...@gmail.com>
> wrote:
>
>> Hi guys,
>>
>> As far as I can understand nobody is against having Scala 2.12 support in
>> Samza master. Can we merge PR then?
>>
>> Best regards,
>> Maxim Logvinenko
>>
>> On 17 March 2017 at 23:42:16, Navina Ramesh (nramesh@linkedin.com.invalid
>> )
>> wrote:
>>
>> Thanks for creating the DISCUSS email!
>>
>> This is good. It's a good idea to update to 2.12 since it looks like we
>> are
>> fully backward compatible with older versions. +1 from me.
>>
>> Cheers!
>> Navina
>>
>> On Fri, Mar 17, 2017 at 1:34 PM, Jagadish Venkatraman <
>> jagadish1989@gmail.com> wrote:
>>
>> > Thanks for starting this discussion and the patch. +1 for supporting
>> scala
>> > 2.12. I assume the changes are fully backwards compatible with scala
>> 2.10,
>> > 2.11 (as evidenced by your check-all)?
>> >
>> > Also, another observation is that the generated Samza binaries will have
>> > 2.12 as the suffix for the future release (I this should be totally OK).
>> >
>> >
>> > On Fri, Mar 17, 2017 at 1:26 PM, Maksim Logvinenko <
>> mlogvinenko@gmail.com>
>>
>> > wrote:
>> >
>> > > Hi guys,
>> > >
>> > > I’ve created JIRA and already submitted patch which adds support of
>> scala
>> > > 2.12. Here is the ticket: https://issues.apache.org/
>> > jira/browse/SAMZA-1135
>> > > .
>> > > Nothing serious: I’ve removed JavaConversions usage (because it’s
>> marked
>> > as
>> > > deprecated now) and bumped kafka and scalatest versions since previous
>> > > versions don’t have scala 2.12 support. I run ./bin/check-all.sh on my
>> > > laptop and it was successful for all scala versions (2.10, 2.11 and
>> 2.12)
>> > > and for both YARN versions.
>> > >
>> > > Thanks,
>> > > Maxim Logvinenko
>> > >
>> >
>> >
>> >
>> > --
>> > Jagadish V,
>> > Graduate Student,
>> > Department of Computer Science,
>> > Stanford University
>> >
>>
>>
>>
>> --
>> Navina R.
>>
>
>

Re: [DISCUSS] Support Scala 2.12

Posted by Prateek Maheshwari <pm...@linkedin.com.INVALID>.
Hi Maksim,

I'm in favor of adding Scala 2.12 support as well, thanks for the PR.
I have a few questions about the way JavaConverter APIs and some of the
conversions in the PR work. I'll try it out locally and update the PR with
feedback/questions soon.

Thanks,
Prateek


On Tue, Mar 28, 2017 at 3:01 PM, Maksim Logvinenko <ml...@gmail.com>
wrote:

> Hi guys,
>
> As far as I can understand nobody is against having Scala 2.12 support in
> Samza master. Can we merge PR then?
>
> Best regards,
> Maxim Logvinenko
>
> On 17 March 2017 at 23:42:16, Navina Ramesh (nramesh@linkedin.com.invalid)
> wrote:
>
> Thanks for creating the DISCUSS email!
>
> This is good. It's a good idea to update to 2.12 since it looks like we are
> fully backward compatible with older versions. +1 from me.
>
> Cheers!
> Navina
>
> On Fri, Mar 17, 2017 at 1:34 PM, Jagadish Venkatraman <
> jagadish1989@gmail.com> wrote:
>
> > Thanks for starting this discussion and the patch. +1 for supporting
> scala
> > 2.12. I assume the changes are fully backwards compatible with scala
> 2.10,
> > 2.11 (as evidenced by your check-all)?
> >
> > Also, another observation is that the generated Samza binaries will have
> > 2.12 as the suffix for the future release (I this should be totally OK).
> >
> >
> > On Fri, Mar 17, 2017 at 1:26 PM, Maksim Logvinenko <
> mlogvinenko@gmail.com>
>
> > wrote:
> >
> > > Hi guys,
> > >
> > > I’ve created JIRA and already submitted patch which adds support of
> scala
> > > 2.12. Here is the ticket: https://issues.apache.org/
> > jira/browse/SAMZA-1135
> > > .
> > > Nothing serious: I’ve removed JavaConversions usage (because it’s
> marked
> > as
> > > deprecated now) and bumped kafka and scalatest versions since previous
> > > versions don’t have scala 2.12 support. I run ./bin/check-all.sh on my
> > > laptop and it was successful for all scala versions (2.10, 2.11 and
> 2.12)
> > > and for both YARN versions.
> > >
> > > Thanks,
> > > Maxim Logvinenko
> > >
> >
> >
> >
> > --
> > Jagadish V,
> > Graduate Student,
> > Department of Computer Science,
> > Stanford University
> >
>
>
>
> --
> Navina R.
>

Re: [DISCUSS] Support Scala 2.12

Posted by Maksim Logvinenko <ml...@gmail.com>.
Hi guys,

As far as I can understand nobody is against having Scala 2.12 support in
Samza master. Can we merge PR then?

Best regards,
Maxim Logvinenko

On 17 March 2017 at 23:42:16, Navina Ramesh (nramesh@linkedin.com.invalid)
wrote:

Thanks for creating the DISCUSS email!

This is good. It's a good idea to update to 2.12 since it looks like we are
fully backward compatible with older versions. +1 from me.

Cheers!
Navina

On Fri, Mar 17, 2017 at 1:34 PM, Jagadish Venkatraman <
jagadish1989@gmail.com> wrote:

> Thanks for starting this discussion and the patch. +1 for supporting
scala
> 2.12. I assume the changes are fully backwards compatible with scala
2.10,
> 2.11 (as evidenced by your check-all)?
>
> Also, another observation is that the generated Samza binaries will have
> 2.12 as the suffix for the future release (I this should be totally OK).
>
>
> On Fri, Mar 17, 2017 at 1:26 PM, Maksim Logvinenko <ml...@gmail.com>

> wrote:
>
> > Hi guys,
> >
> > I’ve created JIRA and already submitted patch which adds support of
scala
> > 2.12. Here is the ticket: https://issues.apache.org/
> jira/browse/SAMZA-1135
> > .
> > Nothing serious: I’ve removed JavaConversions usage (because it’s
marked
> as
> > deprecated now) and bumped kafka and scalatest versions since previous
> > versions don’t have scala 2.12 support. I run ./bin/check-all.sh on my
> > laptop and it was successful for all scala versions (2.10, 2.11 and
2.12)
> > and for both YARN versions.
> >
> > Thanks,
> > Maxim Logvinenko
> >
>
>
>
> --
> Jagadish V,
> Graduate Student,
> Department of Computer Science,
> Stanford University
>



-- 
Navina R.

Re: [DISCUSS] Support Scala 2.12

Posted by Navina Ramesh <nr...@linkedin.com.INVALID>.
Thanks for creating the DISCUSS email!

This is good. It's a good idea to update to 2.12 since it looks like we are
fully backward compatible with older versions. +1 from me.

Cheers!
Navina

On Fri, Mar 17, 2017 at 1:34 PM, Jagadish Venkatraman <
jagadish1989@gmail.com> wrote:

> Thanks for starting this discussion and the patch. +1 for supporting scala
> 2.12.  I assume the changes are fully backwards compatible with scala 2.10,
> 2.11 (as evidenced by your check-all)?
>
> Also, another observation is that the generated Samza binaries will have
> 2.12 as the suffix for the future release (I this should be totally OK).
>
>
> On Fri, Mar 17, 2017 at 1:26 PM, Maksim Logvinenko <ml...@gmail.com>
> wrote:
>
> > Hi guys,
> >
> > I’ve created JIRA and already submitted patch which adds support of scala
> > 2.12. Here is the ticket: https://issues.apache.org/
> jira/browse/SAMZA-1135
> > .
> > Nothing serious: I’ve removed JavaConversions usage (because it’s marked
> as
> > deprecated now) and bumped kafka and scalatest versions since previous
> > versions don’t have scala 2.12 support. I run ./bin/check-all.sh on my
> > laptop and it was successful for all scala versions (2.10, 2.11 and 2.12)
> > and for both YARN versions.
> >
> > Thanks,
> > Maxim Logvinenko
> >
>
>
>
> --
> Jagadish V,
> Graduate Student,
> Department of Computer Science,
> Stanford University
>



-- 
Navina R.

Re: [DISCUSS] Support Scala 2.12

Posted by Jagadish Venkatraman <ja...@gmail.com>.
Thanks for starting this discussion and the patch. +1 for supporting scala
2.12.  I assume the changes are fully backwards compatible with scala 2.10,
2.11 (as evidenced by your check-all)?

Also, another observation is that the generated Samza binaries will have
2.12 as the suffix for the future release (I this should be totally OK).


On Fri, Mar 17, 2017 at 1:26 PM, Maksim Logvinenko <ml...@gmail.com>
wrote:

> Hi guys,
>
> I’ve created JIRA and already submitted patch which adds support of scala
> 2.12. Here is the ticket: https://issues.apache.org/jira/browse/SAMZA-1135
> .
> Nothing serious: I’ve removed JavaConversions usage (because it’s marked as
> deprecated now) and bumped kafka and scalatest versions since previous
> versions don’t have scala 2.12 support. I run ./bin/check-all.sh on my
> laptop and it was successful for all scala versions (2.10, 2.11 and 2.12)
> and for both YARN versions.
>
> Thanks,
> Maxim Logvinenko
>



-- 
Jagadish V,
Graduate Student,
Department of Computer Science,
Stanford University