- Removed meaningless codes comments

This commit is contained in:
Jongyoul Lee 2015-07-03 12:29:45 +09:00
parent c9cda291c2
commit 4cd10b5b04
2 changed files with 0 additions and 7 deletions

View file

@ -782,10 +782,6 @@
<delete dir="../interpreter/spark/pyspark"/>
<copy todir="../interpreter/spark/pyspark"
file="${project.build.directory}/spark-dist/spark-${spark.version}/python/lib/py4j-0.8.2.1-src.zip"/>
<!--<fileset dir="${project.build.directory}/spark-dist/spark-${spark.version}/python"/>
</copy>-->
<!--<unzip src="../interpreter/spark/python/py4j-0.8.2.1-src.zip"
dest="../interpreter/spark/python/build"/>-->
<zip destfile="${project.build.directory}/../../interpreter/spark/pyspark/pyspark.zip"
basedir="${project.build.directory}/spark-dist/spark-${spark.version}/python"
includes="pyspark/*.py,pyspark/**/*.py"/>

View file

@ -271,8 +271,6 @@ public class SparkInterpreter extends Interpreter {
}
//TODO(jongyoul): Move these codes into PySparkInterpreter.java
// String zeppelinHome = getSystemDefault("ZEPPELIN_HOME", "zeppelin.home", "../");
// File zeppelinPythonLibPath = new File(zeppelinHome, "python/lib");
String pysparkBasePath = getSystemDefault("SPARK_HOME", "spark.home", null);
File pysparkPath;
@ -288,7 +286,6 @@ public class SparkInterpreter extends Interpreter {
String[] pythonLibs = new String[]{"pyspark.zip", "py4j-0.8.2.1-src.zip"};
ArrayList<String> pythonLibUris = new ArrayList<>();
for (String lib : pythonLibs) {
// File libFile = new File(zeppelinPythonLibPath, lib);
File libFile = new File(pysparkPath, lib);
if (libFile.exists()) {
pythonLibUris.add(libFile.toURI().toString());