EclairJS / eclairjs-nashorn

JavaScript API for Apache Spark
Apache License 2.0
94 stars 11 forks source link

lambda functions cannot call other functions #179

Open pberkland opened 8 years ago

pberkland commented 8 years ago

a lambda function cannot call another function defined in the same file. It gets serialization exception because jdk.nashorn.internal.runtime.ScriptFunction is not serializable

billreed63 commented 8 years ago

Example code please?

pberkland commented 8 years ago

this shows up in the logquery and the spark_lr examples when running on cluster. When running local it does not happen (probably because it is in same nashorrn instance)