Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Enable Hive in PySpark test deps.
  • Loading branch information
JoshRosen committed Mar 15, 2016
commit 1fd489ce6fdfa5a134ad1eae94f548f67b988554
2 changes: 1 addition & 1 deletion python/run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def get_spark_dist_classpath():
original_working_dir = os.getcwd()
os.chdir(SPARK_HOME)
cp = subprocess_check_output(
["./build/sbt", "export assembly/managedClasspath"], universal_newlines=True)
["./build/sbt", "-Phive", "export assembly/managedClasspath"], universal_newlines=True)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vanzin, as part of your next patch will SPARK_DIST_CLASSPATH just point to the libs directory? If so, we can remove this as part of that patch.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Potentially. I'll make a note to take a look at this.

cp = cp.strip().split("\n")[-1]
os.chdir(original_working_dir)
return cp
Expand Down