apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Weise (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APEXMALHAR-2482) High Level Stream API does not work with Java 8 compiled functions
Date Sun, 23 Apr 2017 00:41:04 GMT

    [ https://issues.apache.org/jira/browse/APEXMALHAR-2482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15980178#comment-15980178
] 

Thomas Weise commented on APEXMALHAR-2482:
------------------------------------------

{code}
Caused by: java.lang.IllegalArgumentException
	at com.esotericsoftware.reflectasm.shaded.org.objectweb.asm.ClassReader.<init>(Unknown
Source)
	at com.esotericsoftware.reflectasm.shaded.org.objectweb.asm.ClassReader.<init>(Unknown
Source)
	at com.esotericsoftware.reflectasm.shaded.org.objectweb.asm.ClassReader.<init>(Unknown
Source)
	at org.apache.apex.malhar.lib.function.FunctionOperator.functionClassData(FunctionOperator.java:110)
	at org.apache.apex.malhar.lib.function.FunctionOperator.<init>(FunctionOperator.java:74)
	at org.apache.apex.malhar.lib.function.FunctionOperator$FlatMapFunctionOperator.<init>(FunctionOperator.java:331)
	at org.apache.apex.malhar.stream.api.impl.ApexStreamImpl.flatMap(ApexStreamImpl.java:205)
	at com.example.myapexapp.ApplicationWithHighLevelAPI.populateDAG(ApplicationWithHighLevelAPI.java:119)
	at com.datatorrent.stram.plan.logical.LogicalPlanConfiguration.prepareDAG(LogicalPlanConfiguration.java:2226)
	at org.apache.apex.engine.EmbeddedAppLauncherImpl.prepareDAG(EmbeddedAppLauncherImpl.java:111)
	at org.apache.apex.engine.EmbeddedAppLauncherImpl.launchApp(EmbeddedAppLauncherImpl.java:67)
	... 25 more
{code}


> High Level Stream API does not work with Java 8 compiled functions
> ------------------------------------------------------------------
>
>                 Key: APEXMALHAR-2482
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2482
>             Project: Apache Apex Malhar
>          Issue Type: Bug
>    Affects Versions: 3.7.0
>            Reporter: Thomas Weise
>
> The function serialization magic fails when the byte code is for 1.8. This is a very
brittle solution that should probably be replaced with Java serialization.
>  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message