aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorCheng Lian <lian@databricks.com>2014-12-23 12:54:20 -0800
committerJosh Rosen <joshrosen@databricks.com>2014-12-23 12:54:20 -0800
commit395b771feed3fc90e5053defbe86dbd673fde582 (patch)
treeb61d6b5d1953997902c5a8b6f44d0fbbfb091832 /pom.xml
parent9c251c555f5ee527143d0cdb9e6c3cb7530fc8f8 (diff)
downloadspark-395b771feed3fc90e5053defbe86dbd673fde582.tar.gz
spark-395b771feed3fc90e5053defbe86dbd673fde582.tar.bz2
spark-395b771feed3fc90e5053defbe86dbd673fde582.zip
[SPARK-4914][Build] Cleans lib_managed before compiling with Hive 0.13.1
This PR tries to fix the Hive tests failure encountered in PR #3157 by cleaning `lib_managed` before building assembly jar against Hive 0.13.1 in `dev/run-tests`. Otherwise two sets of datanucleus jars would be left in `lib_managed` and may mess up class paths while executing Hive test suites. Please refer to [this thread] [1] for details. A clean build would be even safer, but we only clean `lib_managed` here to save build time. This PR also takes the chance to clean up some minor typos and formatting issues in the comments. [1]: https://github.com/apache/spark/pull/3157#issuecomment-67656488 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/apache/spark/3756) <!-- Reviewable:end --> Author: Cheng Lian <lian@databricks.com> Closes #3756 from liancheng/clean-lib-managed and squashes the following commits: e2bd21d [Cheng Lian] Adds lib_managed to clean set c9f2f3e [Cheng Lian] Cleans lib_managed before compiling with Hive 0.13.1
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 4be8c22022..e4db1393ba 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1010,6 +1010,9 @@
<fileset>
<directory>checkpoint</directory>
</fileset>
+ <fileset>
+ <directory>lib_managed</directory>
+ </fileset>
</filesets>
</configuration>
</plugin>