sanha commented on a change in pull request #113: [NEMO-15] Run Spark ALS in distributed mode URL: https://github.com/apache/incubator-nemo/pull/113#discussion_r214244427
########## File path: compiler/frontend/spark/src/main/java/edu/snu/nemo/compiler/frontend/spark/core/SparkFrontendUtils.java ########## @@ -132,10 +134,24 @@ public static Serializer deriveSerializerFrom(final org.apache.spark.SparkContex * @return the converted Java function. */ public static <I, O> Function<I, O> toJavaFunction(final Function1<I, O> scalaFunction) { + final ClassTag<Function1<I, O>> classTag = ClassTag$.MODULE$.apply(scalaFunction.getClass()); Review comment: Why these serialization & deserialization are needed? Please update the method comment. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services