Skip to content

Commit

Permalink
- Removed meaningless codes comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jongyoul committed Jul 4, 2015
1 parent c9cda29 commit 4cd10b5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions spark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,6 @@ public SparkContext createSparkContext() {
}

//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;
Expand All @@ -288,7 +286,6 @@ public SparkContext createSparkContext() {
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());
Expand Down

0 comments on commit 4cd10b5

Please sign in to comment.