You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@apex.apache.org by "McCullough, Alex" <Al...@capitalone.com> on 2016/10/03 19:06:31 UTC

Apex and Malhar Java 8 Certified

Hey All,

I know there were talks about this at some point but is Apex and/or Malhar Java 8 certified? If not, is there a current plan and date to be so?

Thanks,
Alex
________________________________________________________

The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.

Re: Apex and Malhar Java 8 Certified

Posted by Thomas Weise <th...@apache.org>.
Yes, as long as you stick with 1.7 as byte code target level:

https://github.com/apache/apex-core/blob/v3.4.0/apex-app-archetype/src/main/resources/archetype-resources/pom.xml#L36




On Wed, Oct 5, 2016 at 9:14 AM, Feldkamp, Brandon (CONT) <
Brandon.Feldkamp@capitalone.com> wrote:

> So is it safe to say that JDK 1.8 is supported to the same extent that 1.7
> is?
>
>
>
> We’re not running into any issues currently (that I know of…feel free to
> chime back in Alex) but we’re making design decision and were curious about
> being able to use Java 8 features.
>
>
>
> Thanks!
>
> Brandon
>
>
>
> *From: *Vlad Rozov <v....@datatorrent.com>
> *Organization: *DataTorrent
> *Reply-To: *"users@apex.apache.org" <us...@apex.apache.org>
> *Date: *Monday, October 3, 2016 at 11:43 PM
> *To: *"users@apex.apache.org" <us...@apex.apache.org>
> *Subject: *Re: Apex and Malhar Java 8 Certified
>
>
>
> We do test on Java 8 - both Apex Core and Malhar Apache Jenkins builds use
> JDK 1.8 to run tests.
>
> Thank you,
>
> Vlad
>
> On 10/3/16 15:45, Thomas Weise wrote:
>
> Apex is built against Java 7 and expected to work as is on Java 8 (Hadoop
> distros still support 1.7 as well). Are you running into specific issues?
>
>
>
> Thanks,
>
> Thomas
>
>
>
> On Mon, Oct 3, 2016 at 12:06 PM, McCullough, Alex <
> Alex.McCullough@capitalone.com> wrote:
>
> Hey All,
>
>
>
> I know there were talks about this at some point but is Apex and/or Malhar
> Java 8 certified? If not, is there a current plan and date to be so?
>
>
>
> Thanks,
>
> Alex
>
>
> ------------------------------
>
> The information contained in this e-mail is confidential and/or
> proprietary to Capital One and/or its affiliates and may only be used
> solely in performance of work or services for Capital One. The information
> transmitted herewith is intended only for use by the individual or entity
> to which it is addressed. If the reader of this message is not the intended
> recipient, you are hereby notified that any review, retransmission,
> dissemination, distribution, copying or other use of, or taking of any
> action in reliance upon this information is strictly prohibited. If you
> have received this communication in error, please contact the sender and
> delete the material from your computer.
>
>
>
>
>
>
> ------------------------------
>
> The information contained in this e-mail is confidential and/or
> proprietary to Capital One and/or its affiliates and may only be used
> solely in performance of work or services for Capital One. The information
> transmitted herewith is intended only for use by the individual or entity
> to which it is addressed. If the reader of this message is not the intended
> recipient, you are hereby notified that any review, retransmission,
> dissemination, distribution, copying or other use of, or taking of any
> action in reliance upon this information is strictly prohibited. If you
> have received this communication in error, please contact the sender and
> delete the material from your computer.
>

Re: Apex and Malhar Java 8 Certified

Posted by Vlad Rozov <v....@datatorrent.com>.
Application/Operator source and target version may be set to 1.8 as long 
as JRE 1.8 is used both on the client and Hadoop cluster. This will 
allow to use language constructs introduced in 1.8.

Vlad

On 10/5/16 12:15, Munagala Ramanath wrote:
> Doing that gives us this lovely message:
>
> [INFO] Compiling 2 source files to 
> /home/ram/tests/apex/myapexapp/target/classes
> javacTask: source release 1.8 requires target release 1.8
>
> An interesting page discussing possible problems:
> http://www.draconianoverlord.com/2014/04/01/jdk-compatibility.html
>
> Ram
>
>
> On Wed, Oct 5, 2016 at 10:22 AM, Thomas Weise <thw@apache.org 
> <ma...@apache.org>> wrote:
>
>     Source level can be 1.8, which allows you to use 1.8 features. Did
>     you keep target level at 1.7?
>
>
>     On Wed, Oct 5, 2016 at 10:18 AM, hsy541@gmail.com
>     <ma...@gmail.com> <hsy541@gmail.com
>     <ma...@gmail.com>> wrote:
>
>         I think the problem is what people expect when we say
>         "certified".  To me, If I see something is certified with java
>         8, I would assume that I can use java 8 api(new features
>         stream, lambda etc.) to write the operator code, not only just
>         run the code with jre 8 or compile existing code with jdk 8
>         and run.
>
>         I did try some operator code with java 8 stream API and some
>         lambda expression in some methods it works. I havn't tried any
>         operators with new features in their non-transient properties.
>         And also we should take a look to see if kryo fully works with
>         java 8 classes/types
>
>         Regards,
>         Siyuan
>
>
>
>         On Wed, Oct 5, 2016 at 9:34 AM, Munagala Ramanath
>         <ram@datatorrent.com <ma...@datatorrent.com>> wrote:
>
>             You can use Java 8 but the source and target compatibility
>             configuration parameters in
>             your pom.xml for the maven-compiler-plugin still need to
>             be 1.7
>
>             Ram
>
>             On Wed, Oct 5, 2016 at 9:14 AM, Feldkamp, Brandon (CONT)
>             <Brandon.Feldkamp@capitalone.com
>             <ma...@capitalone.com>> wrote:
>
>                 So is it safe to say that JDK 1.8 is supported to the
>                 same extent that 1.7 is?
>
>                 We\u2019re not running into any issues currently (that I
>                 know of\u2026feel free to chime back in Alex) but we\u2019re
>                 making design decision and were curious about being
>                 able to use Java 8 features.
>
>                 Thanks!
>
>                 Brandon
>
>                 *From: *Vlad Rozov <v.rozov@datatorrent.com
>                 <ma...@datatorrent.com>>
>                 *Organization: *DataTorrent
>                 *Reply-To: *"users@apex.apache.org
>                 <ma...@apex.apache.org>" <users@apex.apache.org
>                 <ma...@apex.apache.org>>
>                 *Date: *Monday, October 3, 2016 at 11:43 PM
>                 *To: *"users@apex.apache.org
>                 <ma...@apex.apache.org>" <users@apex.apache.org
>                 <ma...@apex.apache.org>>
>                 *Subject: *Re: Apex and Malhar Java 8 Certified
>
>                 We do test on Java 8 - both Apex Core and Malhar
>                 Apache Jenkins builds use JDK 1.8 to run tests.
>
>                 Thank you,
>
>                 Vlad
>
>                 On 10/3/16 15:45, Thomas Weise wrote:
>
>                     Apex is built against Java 7 and expected to work
>                     as is on Java 8 (Hadoop distros still support 1.7
>                     as well). Are you running into specific issues?
>
>                     Thanks,
>
>                     Thomas
>
>                     On Mon, Oct 3, 2016 at 12:06 PM, McCullough, Alex
>                     <Alex.McCullough@capitalone.com
>                     <ma...@capitalone.com>> wrote:
>
>                         Hey All,
>
>                         I know there were talks about this at some
>                         point but is Apex and/or Malhar Java 8
>                         certified? If not, is there a current plan and
>                         date to be so?
>
>                         Thanks,
>
>                         Alex
>
>                         ------------------------------------------------------------------------
>
>                         The information contained in this e-mail is
>                         confidential and/or proprietary to Capital One
>                         and/or its affiliates and may only be used
>                         solely in performance of work or services for
>                         Capital One. The information transmitted
>                         herewith is intended only for use by the
>                         individual or entity to which it is addressed.
>                         If the reader of this message is not the
>                         intended recipient, you are hereby notified
>                         that any review, retransmission,
>                         dissemination, distribution, copying or other
>                         use of, or taking of any action in reliance
>                         upon this information is strictly prohibited.
>                         If you have received this communication in
>                         error, please contact the sender and delete
>                         the material from your computer.
>
>
>
>
>                 ------------------------------------------------------------------------
>
>                 The information contained in this e-mail is
>                 confidential and/or proprietary to Capital One and/or
>                 its affiliates and may only be used solely in
>                 performance of work or services for Capital One. The
>                 information transmitted herewith is intended only for
>                 use by the individual or entity to which it is
>                 addressed. If the reader of this message is not the
>                 intended recipient, you are hereby notified that any
>                 review, retransmission, dissemination, distribution,
>                 copying or other use of, or taking of any action in
>                 reliance upon this information is strictly prohibited.
>                 If you have received this communication in error,
>                 please contact the sender and delete the material from
>                 your computer.
>
>
>
>
>


Re: Apex and Malhar Java 8 Certified

Posted by "hsy541@gmail.com" <hs...@gmail.com>.
Some good explanation of why 1.8 source cannot be compiled to 1.8- bytecode

http://stackoverflow.com/questions/16143684/can-java-8-code-be-compiled-to-run-on-java-7-jvm

https://zeroturnaround.com/rebellabs/java-8-explained-default-methods




On Wed, Oct 5, 2016 at 12:15 PM, Munagala Ramanath <ra...@datatorrent.com>
wrote:

> Doing that gives us this lovely message:
>
> [INFO] Compiling 2 source files to /home/ram/tests/apex/
> myapexapp/target/classes
> javacTask: source release 1.8 requires target release 1.8
>
> An interesting page discussing possible problems:
> http://www.draconianoverlord.com/2014/04/01/jdk-compatibility.html
>
> Ram
>
>
> On Wed, Oct 5, 2016 at 10:22 AM, Thomas Weise <th...@apache.org> wrote:
>
>> Source level can be 1.8, which allows you to use 1.8 features. Did you
>> keep target level at 1.7?
>>
>>
>> On Wed, Oct 5, 2016 at 10:18 AM, hsy541@gmail.com <hs...@gmail.com>
>> wrote:
>>
>>> I think the problem is what people expect when we say "certified".  To
>>> me, If I see something is certified with java 8, I would assume that I can
>>> use java 8 api(new features stream, lambda etc.) to write the operator
>>> code, not only just run the code with jre 8 or compile existing code with
>>> jdk 8 and run.
>>>
>>> I did try some operator code with java 8 stream API and some lambda
>>> expression in some methods it works. I havn't tried any operators with new
>>> features in their non-transient properties. And also we should take a look
>>> to see if kryo fully works with java 8 classes/types
>>>
>>> Regards,
>>> Siyuan
>>>
>>>
>>>
>>> On Wed, Oct 5, 2016 at 9:34 AM, Munagala Ramanath <ra...@datatorrent.com>
>>> wrote:
>>>
>>>> You can use Java 8 but the source and target compatibility
>>>> configuration parameters in
>>>> your pom.xml for the maven-compiler-plugin still need to be 1.7
>>>>
>>>> Ram
>>>>
>>>> On Wed, Oct 5, 2016 at 9:14 AM, Feldkamp, Brandon (CONT) <
>>>> Brandon.Feldkamp@capitalone.com> wrote:
>>>>
>>>>> So is it safe to say that JDK 1.8 is supported to the same extent that
>>>>> 1.7 is?
>>>>>
>>>>>
>>>>>
>>>>> We’re not running into any issues currently (that I know of…feel free
>>>>> to chime back in Alex) but we’re making design decision and were curious
>>>>> about being able to use Java 8 features.
>>>>>
>>>>>
>>>>>
>>>>> Thanks!
>>>>>
>>>>> Brandon
>>>>>
>>>>>
>>>>>
>>>>> *From: *Vlad Rozov <v....@datatorrent.com>
>>>>> *Organization: *DataTorrent
>>>>> *Reply-To: *"users@apex.apache.org" <us...@apex.apache.org>
>>>>> *Date: *Monday, October 3, 2016 at 11:43 PM
>>>>> *To: *"users@apex.apache.org" <us...@apex.apache.org>
>>>>> *Subject: *Re: Apex and Malhar Java 8 Certified
>>>>>
>>>>>
>>>>>
>>>>> We do test on Java 8 - both Apex Core and Malhar Apache Jenkins builds
>>>>> use JDK 1.8 to run tests.
>>>>>
>>>>> Thank you,
>>>>>
>>>>> Vlad
>>>>>
>>>>> On 10/3/16 15:45, Thomas Weise wrote:
>>>>>
>>>>> Apex is built against Java 7 and expected to work as is on Java 8
>>>>> (Hadoop distros still support 1.7 as well). Are you running into specific
>>>>> issues?
>>>>>
>>>>>
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Thomas
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Oct 3, 2016 at 12:06 PM, McCullough, Alex <
>>>>> Alex.McCullough@capitalone.com> wrote:
>>>>>
>>>>> Hey All,
>>>>>
>>>>>
>>>>>
>>>>> I know there were talks about this at some point but is Apex and/or
>>>>> Malhar Java 8 certified? If not, is there a current plan and date to be so?
>>>>>
>>>>>
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Alex
>>>>>
>>>>>
>>>>> ------------------------------
>>>>>
>>>>> The information contained in this e-mail is confidential and/or
>>>>> proprietary to Capital One and/or its affiliates and may only be used
>>>>> solely in performance of work or services for Capital One. The information
>>>>> transmitted herewith is intended only for use by the individual or entity
>>>>> to which it is addressed. If the reader of this message is not the intended
>>>>> recipient, you are hereby notified that any review, retransmission,
>>>>> dissemination, distribution, copying or other use of, or taking of any
>>>>> action in reliance upon this information is strictly prohibited. If you
>>>>> have received this communication in error, please contact the sender and
>>>>> delete the material from your computer.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------
>>>>>
>>>>> The information contained in this e-mail is confidential and/or
>>>>> proprietary to Capital One and/or its affiliates and may only be used
>>>>> solely in performance of work or services for Capital One. The information
>>>>> transmitted herewith is intended only for use by the individual or entity
>>>>> to which it is addressed. If the reader of this message is not the intended
>>>>> recipient, you are hereby notified that any review, retransmission,
>>>>> dissemination, distribution, copying or other use of, or taking of any
>>>>> action in reliance upon this information is strictly prohibited. If you
>>>>> have received this communication in error, please contact the sender and
>>>>> delete the material from your computer.
>>>>>
>>>>
>>>>
>>>
>>
>

Re: Apex and Malhar Java 8 Certified

Posted by Munagala Ramanath <ra...@datatorrent.com>.
Doing that gives us this lovely message:

[INFO] Compiling 2 source files to
/home/ram/tests/apex/myapexapp/target/classes
javacTask: source release 1.8 requires target release 1.8

An interesting page discussing possible problems:
http://www.draconianoverlord.com/2014/04/01/jdk-compatibility.html

Ram


On Wed, Oct 5, 2016 at 10:22 AM, Thomas Weise <th...@apache.org> wrote:

> Source level can be 1.8, which allows you to use 1.8 features. Did you
> keep target level at 1.7?
>
>
> On Wed, Oct 5, 2016 at 10:18 AM, hsy541@gmail.com <hs...@gmail.com>
> wrote:
>
>> I think the problem is what people expect when we say "certified".  To
>> me, If I see something is certified with java 8, I would assume that I can
>> use java 8 api(new features stream, lambda etc.) to write the operator
>> code, not only just run the code with jre 8 or compile existing code with
>> jdk 8 and run.
>>
>> I did try some operator code with java 8 stream API and some lambda
>> expression in some methods it works. I havn't tried any operators with new
>> features in their non-transient properties. And also we should take a look
>> to see if kryo fully works with java 8 classes/types
>>
>> Regards,
>> Siyuan
>>
>>
>>
>> On Wed, Oct 5, 2016 at 9:34 AM, Munagala Ramanath <ra...@datatorrent.com>
>> wrote:
>>
>>> You can use Java 8 but the source and target compatibility configuration
>>> parameters in
>>> your pom.xml for the maven-compiler-plugin still need to be 1.7
>>>
>>> Ram
>>>
>>> On Wed, Oct 5, 2016 at 9:14 AM, Feldkamp, Brandon (CONT) <
>>> Brandon.Feldkamp@capitalone.com> wrote:
>>>
>>>> So is it safe to say that JDK 1.8 is supported to the same extent that
>>>> 1.7 is?
>>>>
>>>>
>>>>
>>>> We’re not running into any issues currently (that I know of…feel free
>>>> to chime back in Alex) but we’re making design decision and were curious
>>>> about being able to use Java 8 features.
>>>>
>>>>
>>>>
>>>> Thanks!
>>>>
>>>> Brandon
>>>>
>>>>
>>>>
>>>> *From: *Vlad Rozov <v....@datatorrent.com>
>>>> *Organization: *DataTorrent
>>>> *Reply-To: *"users@apex.apache.org" <us...@apex.apache.org>
>>>> *Date: *Monday, October 3, 2016 at 11:43 PM
>>>> *To: *"users@apex.apache.org" <us...@apex.apache.org>
>>>> *Subject: *Re: Apex and Malhar Java 8 Certified
>>>>
>>>>
>>>>
>>>> We do test on Java 8 - both Apex Core and Malhar Apache Jenkins builds
>>>> use JDK 1.8 to run tests.
>>>>
>>>> Thank you,
>>>>
>>>> Vlad
>>>>
>>>> On 10/3/16 15:45, Thomas Weise wrote:
>>>>
>>>> Apex is built against Java 7 and expected to work as is on Java 8
>>>> (Hadoop distros still support 1.7 as well). Are you running into specific
>>>> issues?
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Thomas
>>>>
>>>>
>>>>
>>>> On Mon, Oct 3, 2016 at 12:06 PM, McCullough, Alex <
>>>> Alex.McCullough@capitalone.com> wrote:
>>>>
>>>> Hey All,
>>>>
>>>>
>>>>
>>>> I know there were talks about this at some point but is Apex and/or
>>>> Malhar Java 8 certified? If not, is there a current plan and date to be so?
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Alex
>>>>
>>>>
>>>> ------------------------------
>>>>
>>>> The information contained in this e-mail is confidential and/or
>>>> proprietary to Capital One and/or its affiliates and may only be used
>>>> solely in performance of work or services for Capital One. The information
>>>> transmitted herewith is intended only for use by the individual or entity
>>>> to which it is addressed. If the reader of this message is not the intended
>>>> recipient, you are hereby notified that any review, retransmission,
>>>> dissemination, distribution, copying or other use of, or taking of any
>>>> action in reliance upon this information is strictly prohibited. If you
>>>> have received this communication in error, please contact the sender and
>>>> delete the material from your computer.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------
>>>>
>>>> The information contained in this e-mail is confidential and/or
>>>> proprietary to Capital One and/or its affiliates and may only be used
>>>> solely in performance of work or services for Capital One. The information
>>>> transmitted herewith is intended only for use by the individual or entity
>>>> to which it is addressed. If the reader of this message is not the intended
>>>> recipient, you are hereby notified that any review, retransmission,
>>>> dissemination, distribution, copying or other use of, or taking of any
>>>> action in reliance upon this information is strictly prohibited. If you
>>>> have received this communication in error, please contact the sender and
>>>> delete the material from your computer.
>>>>
>>>
>>>
>>
>

Re: Apex and Malhar Java 8 Certified

Posted by Thomas Weise <th...@apache.org>.
Source level can be 1.8, which allows you to use 1.8 features. Did you keep
target level at 1.7?


On Wed, Oct 5, 2016 at 10:18 AM, hsy541@gmail.com <hs...@gmail.com> wrote:

> I think the problem is what people expect when we say "certified".  To me,
> If I see something is certified with java 8, I would assume that I can use
> java 8 api(new features stream, lambda etc.) to write the operator code,
> not only just run the code with jre 8 or compile existing code with jdk 8
> and run.
>
> I did try some operator code with java 8 stream API and some lambda
> expression in some methods it works. I havn't tried any operators with new
> features in their non-transient properties. And also we should take a look
> to see if kryo fully works with java 8 classes/types
>
> Regards,
> Siyuan
>
>
>
> On Wed, Oct 5, 2016 at 9:34 AM, Munagala Ramanath <ra...@datatorrent.com>
> wrote:
>
>> You can use Java 8 but the source and target compatibility configuration
>> parameters in
>> your pom.xml for the maven-compiler-plugin still need to be 1.7
>>
>> Ram
>>
>> On Wed, Oct 5, 2016 at 9:14 AM, Feldkamp, Brandon (CONT) <
>> Brandon.Feldkamp@capitalone.com> wrote:
>>
>>> So is it safe to say that JDK 1.8 is supported to the same extent that
>>> 1.7 is?
>>>
>>>
>>>
>>> We’re not running into any issues currently (that I know of…feel free to
>>> chime back in Alex) but we’re making design decision and were curious about
>>> being able to use Java 8 features.
>>>
>>>
>>>
>>> Thanks!
>>>
>>> Brandon
>>>
>>>
>>>
>>> *From: *Vlad Rozov <v....@datatorrent.com>
>>> *Organization: *DataTorrent
>>> *Reply-To: *"users@apex.apache.org" <us...@apex.apache.org>
>>> *Date: *Monday, October 3, 2016 at 11:43 PM
>>> *To: *"users@apex.apache.org" <us...@apex.apache.org>
>>> *Subject: *Re: Apex and Malhar Java 8 Certified
>>>
>>>
>>>
>>> We do test on Java 8 - both Apex Core and Malhar Apache Jenkins builds
>>> use JDK 1.8 to run tests.
>>>
>>> Thank you,
>>>
>>> Vlad
>>>
>>> On 10/3/16 15:45, Thomas Weise wrote:
>>>
>>> Apex is built against Java 7 and expected to work as is on Java 8
>>> (Hadoop distros still support 1.7 as well). Are you running into specific
>>> issues?
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Thomas
>>>
>>>
>>>
>>> On Mon, Oct 3, 2016 at 12:06 PM, McCullough, Alex <
>>> Alex.McCullough@capitalone.com> wrote:
>>>
>>> Hey All,
>>>
>>>
>>>
>>> I know there were talks about this at some point but is Apex and/or
>>> Malhar Java 8 certified? If not, is there a current plan and date to be so?
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Alex
>>>
>>>
>>> ------------------------------
>>>
>>> The information contained in this e-mail is confidential and/or
>>> proprietary to Capital One and/or its affiliates and may only be used
>>> solely in performance of work or services for Capital One. The information
>>> transmitted herewith is intended only for use by the individual or entity
>>> to which it is addressed. If the reader of this message is not the intended
>>> recipient, you are hereby notified that any review, retransmission,
>>> dissemination, distribution, copying or other use of, or taking of any
>>> action in reliance upon this information is strictly prohibited. If you
>>> have received this communication in error, please contact the sender and
>>> delete the material from your computer.
>>>
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------
>>>
>>> The information contained in this e-mail is confidential and/or
>>> proprietary to Capital One and/or its affiliates and may only be used
>>> solely in performance of work or services for Capital One. The information
>>> transmitted herewith is intended only for use by the individual or entity
>>> to which it is addressed. If the reader of this message is not the intended
>>> recipient, you are hereby notified that any review, retransmission,
>>> dissemination, distribution, copying or other use of, or taking of any
>>> action in reliance upon this information is strictly prohibited. If you
>>> have received this communication in error, please contact the sender and
>>> delete the material from your computer.
>>>
>>
>>
>

Re: Apex and Malhar Java 8 Certified

Posted by "hsy541@gmail.com" <hs...@gmail.com>.
I think the problem is what people expect when we say "certified".  To me,
If I see something is certified with java 8, I would assume that I can use
java 8 api(new features stream, lambda etc.) to write the operator code,
not only just run the code with jre 8 or compile existing code with jdk 8
and run.

I did try some operator code with java 8 stream API and some lambda
expression in some methods it works. I havn't tried any operators with new
features in their non-transient properties. And also we should take a look
to see if kryo fully works with java 8 classes/types

Regards,
Siyuan



On Wed, Oct 5, 2016 at 9:34 AM, Munagala Ramanath <ra...@datatorrent.com>
wrote:

> You can use Java 8 but the source and target compatibility configuration
> parameters in
> your pom.xml for the maven-compiler-plugin still need to be 1.7
>
> Ram
>
> On Wed, Oct 5, 2016 at 9:14 AM, Feldkamp, Brandon (CONT) <
> Brandon.Feldkamp@capitalone.com> wrote:
>
>> So is it safe to say that JDK 1.8 is supported to the same extent that
>> 1.7 is?
>>
>>
>>
>> We’re not running into any issues currently (that I know of…feel free to
>> chime back in Alex) but we’re making design decision and were curious about
>> being able to use Java 8 features.
>>
>>
>>
>> Thanks!
>>
>> Brandon
>>
>>
>>
>> *From: *Vlad Rozov <v....@datatorrent.com>
>> *Organization: *DataTorrent
>> *Reply-To: *"users@apex.apache.org" <us...@apex.apache.org>
>> *Date: *Monday, October 3, 2016 at 11:43 PM
>> *To: *"users@apex.apache.org" <us...@apex.apache.org>
>> *Subject: *Re: Apex and Malhar Java 8 Certified
>>
>>
>>
>> We do test on Java 8 - both Apex Core and Malhar Apache Jenkins builds
>> use JDK 1.8 to run tests.
>>
>> Thank you,
>>
>> Vlad
>>
>> On 10/3/16 15:45, Thomas Weise wrote:
>>
>> Apex is built against Java 7 and expected to work as is on Java 8 (Hadoop
>> distros still support 1.7 as well). Are you running into specific issues?
>>
>>
>>
>> Thanks,
>>
>> Thomas
>>
>>
>>
>> On Mon, Oct 3, 2016 at 12:06 PM, McCullough, Alex <
>> Alex.McCullough@capitalone.com> wrote:
>>
>> Hey All,
>>
>>
>>
>> I know there were talks about this at some point but is Apex and/or
>> Malhar Java 8 certified? If not, is there a current plan and date to be so?
>>
>>
>>
>> Thanks,
>>
>> Alex
>>
>>
>> ------------------------------
>>
>> The information contained in this e-mail is confidential and/or
>> proprietary to Capital One and/or its affiliates and may only be used
>> solely in performance of work or services for Capital One. The information
>> transmitted herewith is intended only for use by the individual or entity
>> to which it is addressed. If the reader of this message is not the intended
>> recipient, you are hereby notified that any review, retransmission,
>> dissemination, distribution, copying or other use of, or taking of any
>> action in reliance upon this information is strictly prohibited. If you
>> have received this communication in error, please contact the sender and
>> delete the material from your computer.
>>
>>
>>
>>
>>
>>
>> ------------------------------
>>
>> The information contained in this e-mail is confidential and/or
>> proprietary to Capital One and/or its affiliates and may only be used
>> solely in performance of work or services for Capital One. The information
>> transmitted herewith is intended only for use by the individual or entity
>> to which it is addressed. If the reader of this message is not the intended
>> recipient, you are hereby notified that any review, retransmission,
>> dissemination, distribution, copying or other use of, or taking of any
>> action in reliance upon this information is strictly prohibited. If you
>> have received this communication in error, please contact the sender and
>> delete the material from your computer.
>>
>
>

Re: Apex and Malhar Java 8 Certified

Posted by Munagala Ramanath <ra...@datatorrent.com>.
You can use Java 8 but the source and target compatibility configuration
parameters in
your pom.xml for the maven-compiler-plugin still need to be 1.7

Ram

On Wed, Oct 5, 2016 at 9:14 AM, Feldkamp, Brandon (CONT) <
Brandon.Feldkamp@capitalone.com> wrote:

> So is it safe to say that JDK 1.8 is supported to the same extent that 1.7
> is?
>
>
>
> We’re not running into any issues currently (that I know of…feel free to
> chime back in Alex) but we’re making design decision and were curious about
> being able to use Java 8 features.
>
>
>
> Thanks!
>
> Brandon
>
>
>
> *From: *Vlad Rozov <v....@datatorrent.com>
> *Organization: *DataTorrent
> *Reply-To: *"users@apex.apache.org" <us...@apex.apache.org>
> *Date: *Monday, October 3, 2016 at 11:43 PM
> *To: *"users@apex.apache.org" <us...@apex.apache.org>
> *Subject: *Re: Apex and Malhar Java 8 Certified
>
>
>
> We do test on Java 8 - both Apex Core and Malhar Apache Jenkins builds use
> JDK 1.8 to run tests.
>
> Thank you,
>
> Vlad
>
> On 10/3/16 15:45, Thomas Weise wrote:
>
> Apex is built against Java 7 and expected to work as is on Java 8 (Hadoop
> distros still support 1.7 as well). Are you running into specific issues?
>
>
>
> Thanks,
>
> Thomas
>
>
>
> On Mon, Oct 3, 2016 at 12:06 PM, McCullough, Alex <
> Alex.McCullough@capitalone.com> wrote:
>
> Hey All,
>
>
>
> I know there were talks about this at some point but is Apex and/or Malhar
> Java 8 certified? If not, is there a current plan and date to be so?
>
>
>
> Thanks,
>
> Alex
>
>
> ------------------------------
>
> The information contained in this e-mail is confidential and/or
> proprietary to Capital One and/or its affiliates and may only be used
> solely in performance of work or services for Capital One. The information
> transmitted herewith is intended only for use by the individual or entity
> to which it is addressed. If the reader of this message is not the intended
> recipient, you are hereby notified that any review, retransmission,
> dissemination, distribution, copying or other use of, or taking of any
> action in reliance upon this information is strictly prohibited. If you
> have received this communication in error, please contact the sender and
> delete the material from your computer.
>
>
>
>
>
>
> ------------------------------
>
> The information contained in this e-mail is confidential and/or
> proprietary to Capital One and/or its affiliates and may only be used
> solely in performance of work or services for Capital One. The information
> transmitted herewith is intended only for use by the individual or entity
> to which it is addressed. If the reader of this message is not the intended
> recipient, you are hereby notified that any review, retransmission,
> dissemination, distribution, copying or other use of, or taking of any
> action in reliance upon this information is strictly prohibited. If you
> have received this communication in error, please contact the sender and
> delete the material from your computer.
>

Re: Apex and Malhar Java 8 Certified

Posted by "Feldkamp, Brandon (CONT)" <Br...@capitalone.com>.
So is it safe to say that JDK 1.8 is supported to the same extent that 1.7 is?

We’re not running into any issues currently (that I know of…feel free to chime back in Alex) but we’re making design decision and were curious about being able to use Java 8 features.

Thanks!
Brandon

From: Vlad Rozov <v....@datatorrent.com>
Organization: DataTorrent
Reply-To: "users@apex.apache.org" <us...@apex.apache.org>
Date: Monday, October 3, 2016 at 11:43 PM
To: "users@apex.apache.org" <us...@apex.apache.org>
Subject: Re: Apex and Malhar Java 8 Certified

We do test on Java 8 - both Apex Core and Malhar Apache Jenkins builds use JDK 1.8 to run tests.

Thank you,

Vlad
On 10/3/16 15:45, Thomas Weise wrote:
Apex is built against Java 7 and expected to work as is on Java 8 (Hadoop distros still support 1.7 as well). Are you running into specific issues?

Thanks,
Thomas

On Mon, Oct 3, 2016 at 12:06 PM, McCullough, Alex <Al...@capitalone.com>> wrote:
Hey All,

I know there were talks about this at some point but is Apex and/or Malhar Java 8 certified? If not, is there a current plan and date to be so?

Thanks,
Alex

________________________________

The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.



________________________________________________________

The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.

Re: Apex and Malhar Java 8 Certified

Posted by Vlad Rozov <v....@datatorrent.com>.
We do test on Java 8 - both Apex Core and Malhar Apache Jenkins builds 
use JDK 1.8 to run tests.

Thank you,

Vlad

On 10/3/16 15:45, Thomas Weise wrote:
> Apex is built against Java 7 and expected to work as is on Java 8 
> (Hadoop distros still support 1.7 as well). Are you running into 
> specific issues?
>
> Thanks,
> Thomas
>
> On Mon, Oct 3, 2016 at 12:06 PM, McCullough, Alex 
> <Alex.McCullough@capitalone.com 
> <ma...@capitalone.com>> wrote:
>
>     Hey All,
>
>     I know there were talks about this at some point but is Apex
>     and/or Malhar Java 8 certified? If not, is there a current plan
>     and date to be so?
>
>     Thanks,
>
>     Alex
>
>
>     ------------------------------------------------------------------------
>
>     The information contained in this e-mail is confidential and/or
>     proprietary to Capital One and/or its affiliates and may only be
>     used solely in performance of work or services for Capital One.
>     The information transmitted herewith is intended only for use by
>     the individual or entity to which it is addressed. If the reader
>     of this message is not the intended recipient, you are hereby
>     notified that any review, retransmission, dissemination,
>     distribution, copying or other use of, or taking of any action in
>     reliance upon this information is strictly prohibited. If you have
>     received this communication in error, please contact the sender
>     and delete the material from your computer.
>
>


Re: Apex and Malhar Java 8 Certified

Posted by Thomas Weise <th...@apache.org>.
Apex is built against Java 7 and expected to work as is on Java 8 (Hadoop
distros still support 1.7 as well). Are you running into specific issues?

Thanks,
Thomas

On Mon, Oct 3, 2016 at 12:06 PM, McCullough, Alex <
Alex.McCullough@capitalone.com> wrote:

> Hey All,
>
>
>
> I know there were talks about this at some point but is Apex and/or Malhar
> Java 8 certified? If not, is there a current plan and date to be so?
>
>
>
> Thanks,
>
> Alex
>
> ------------------------------
>
> The information contained in this e-mail is confidential and/or
> proprietary to Capital One and/or its affiliates and may only be used
> solely in performance of work or services for Capital One. The information
> transmitted herewith is intended only for use by the individual or entity
> to which it is addressed. If the reader of this message is not the intended
> recipient, you are hereby notified that any review, retransmission,
> dissemination, distribution, copying or other use of, or taking of any
> action in reliance upon this information is strictly prohibited. If you
> have received this communication in error, please contact the sender and
> delete the material from your computer.
>