diff options
author | Sean Owen <sowen@cloudera.com> | 2014-12-15 17:12:05 -0800 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2014-12-15 17:12:23 -0800 |
commit | 6bd8a9666a2ff5e3f603dba5a7de4687b72c08c1 (patch) | |
tree | f4919f0888e0fd6643a626bcbdc919a86f007fc8 /sql/hive | |
parent | f1f27ec9c36878cd2f382f1fda5d62f08f40e5d5 (diff) | |
download | spark-6bd8a9666a2ff5e3f603dba5a7de4687b72c08c1.tar.gz spark-6bd8a9666a2ff5e3f603dba5a7de4687b72c08c1.tar.bz2 spark-6bd8a9666a2ff5e3f603dba5a7de4687b72c08c1.zip |
SPARK-4814 [CORE] Enable assertions in SBT, Maven tests / AssertionError from Hive's LazyBinaryInteger
This enables assertions for the Maven and SBT build, but overrides the Hive module to not enable assertions.
Author: Sean Owen <sowen@cloudera.com>
Closes #3692 from srowen/SPARK-4814 and squashes the following commits:
caca704 [Sean Owen] Disable assertions just for Hive
f71e783 [Sean Owen] Enable assertions for SBT and Maven build
(cherry picked from commit 81112e4b573292e76c7feeed995751bd7a5fe489)
Signed-off-by: Josh Rosen <joshrosen@databricks.com>
Diffstat (limited to 'sql/hive')
-rw-r--r-- | sql/hive/pom.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/hive/pom.xml b/sql/hive/pom.xml index 048ed25a2d..2628407d25 100644 --- a/sql/hive/pom.xml +++ b/sql/hive/pom.xml @@ -161,6 +161,10 @@ <plugin> <groupId>org.scalatest</groupId> <artifactId>scalatest-maven-plugin</artifactId> + <configuration> + <!-- Specially disable assertions since some Hive tests fail them --> + <argLine>-da -Xmx3g -XX:MaxPermSize=${MaxPermGen} -XX:ReservedCodeCacheSize=512m</argLine> + </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> |