datafu-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [datafu] matthayes commented on a change in pull request #15: Add Spark functionality to DataFu, datafu-spark
Date Tue, 21 May 2019 22:14:32 GMT
matthayes commented on a change in pull request #15: Add Spark functionality to DataFu, datafu-spark

 File path: datafu-spark/src/main/scala/spark/utils/overwrites/SparkPythonRunner.scala
 @@ -0,0 +1,137 @@
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.spark.deploy
+import scala.collection.JavaConverters._
+import scala.collection.mutable.ArrayBuffer
+import datafu.spark.ScalaPythonBridge
+import org.apache.log4j.Logger
+import org.apache.spark.api.python.PythonUtils
+import org.apache.spark.util.Utils
+ * We wrap Spark's PythonRunner because we failed on premature python process closing.
 Review comment:
   This documentation is confusing.  It doesn't really explain what this does (more like explains
background on why it was written, which is still useful but should be at bottom of doc). 
Also not clear how this is wrapping PythonRunner because only PythonRunner.formatPath is called.
 Is this a copy of the code from PythonRunner that was modified?

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message