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
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)
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