GitHub user JoshRosen opened a pull request:
https://github.com/apache/spark/pull/6651
[SPARK-8106] [SQL] Set derby.system.durability=test to speed up Hive
compatibility tests
Derby has a `derby.system.durability` configuration property that can be
used to disable I/O synchronization calls for writes. This sacrifices
durability but can result in large performance gains, which is appropriate for
tests.
We should enable this in our test system properties in order to speed up
the Hive compatibility tests. I saw 2-3x speedups locally with this change.
See https://db.apache.org/derby/docs/10.8/ref/rrefproperdurability.html for
more documentation of this property.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/JoshRosen/spark hive-compat-suite-speedup
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6651.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6651
----
commit b7a08a26e0e58277642179d4c1a8d5b16911550a
Author: Josh Rosen <[email protected]>
Date: 2015-06-04T20:00:30Z
Set derby.system.durability=test in our unit tests.
commit e6011f40e852a4e6e6563545d9608ab3fd7a4529
Author: Josh Rosen <[email protected]>
Date: 2015-06-04T20:01:32Z
Introduce whitespace change to trigger SQL tests.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]