mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
- Removed meaningless codes comments
This commit is contained in:
parent
c9cda291c2
commit
4cd10b5b04
2 changed files with 0 additions and 7 deletions
|
|
@ -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"/>
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in a new issue