aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/resources
Commit message (Collapse)AuthorAgeFilesLines
* SPARK-1798. Tests should clean up temp filesSean Owen2014-05-121-1/+1
| | | | | | | | | | | | | | | | | | | | Three issues related to temp files that tests generate – these should be touched up for hygiene but are not urgent. Modules have a log4j.properties which directs the unit-test.log output file to a directory like `[module]/target/unit-test.log`. But this ends up creating `[module]/[module]/target/unit-test.log` instead of former. The `work/` directory is not deleted by "mvn clean", in the parent and in modules. Neither is the `checkpoint/` directory created under the various external modules. Many tests create a temp directory, which is not usually deleted. This can be largely resolved by calling `deleteOnExit()` at creation and trying to call `Utils.deleteRecursively` consistently to clean up, sometimes in an `@After` method. _If anyone seconds the motion, I can create a more significant change that introduces a new test trait along the lines of `LocalSparkContext`, which provides management of temp directories for subclasses to take advantage of._ Author: Sean Owen <sowen@cloudera.com> Closes #732 from srowen/SPARK-1798 and squashes the following commits: 5af578e [Sean Owen] Try to consistently delete test temp dirs and files, and set deleteOnExit() for each b21b356 [Sean Owen] Remove work/ and checkpoint/ dirs with mvn clean bdd0f41 [Sean Owen] Remove duplicate module dir in log4j.properties output path for tests
* Merge pull request #462 from mateiz/conf-file-fixPatrick Wendell2014-01-181-8/+0
| | | | | | | | | | | | | Remove Typesafe Config usage and conf files to fix nested property names With Typesafe Config we had the subtle problem of no longer allowing nested property names, which are used for a few of our properties: http://apache-spark-developers-list.1001551.n3.nabble.com/Config-properties-broken-in-master-td208.html This PR is for branch 0.9 but should be added into master too. (cherry picked from commit 34e911ce9a9f91f3259189861779032069257852) Signed-off-by: Patrick Wendell <pwendell@gmail.com>
* Merge branch 'master' into spark-1002-remove-jarsPrashant Sharma2014-01-031-0/+8
|\
| * Updated docs for SparkConf and handled review commentsMatei Zaharia2013-12-301-0/+2
| |
| * Added tests for SparkConf and fixed a bugMatei Zaharia2013-12-291-0/+6
| | | | | | | | | | Typesafe Config caches system properties the first time it's invoked by default, ignoring later changes unless you do something special
* | ignoring tests for now, contrary to what I assumed these tests make sense ↵Prashant Sharma2014-01-021-0/+0
|/ | | | given what they are testing.
* Add missing license headers found with RATMatei Zaharia2013-09-022-0/+34
|
* Initial work to rename package to org.apache.sparkMatei Zaharia2013-09-012-4/+4
|
* Code refactor according to commentsjerryshao2013-07-242-5/+5
|
* Refactor metricsSystem unit test, add resource files.Andrew xia2013-07-242-0/+13
|
* Add Apache license headers and LICENSE and NOTICE filesMatei Zaharia2013-07-162-1/+35
|
* Merge remote-tracking branch 'pwendell/ui-updates'Matei Zaharia2013-07-061-0/+1
|\ | | | | | | | | | | | | Conflicts: core/src/main/scala/spark/scheduler/DAGScheduler.scala core/src/main/scala/spark/util/AkkaUtils.scala pom.xml
| * A few bug fixes and a unit testPatrick Wendell2013-06-241-0/+1
| |
* | Add fair scheduler config template fileAndrew xia2013-07-041-0/+1
|/
* refactor the Schedulable interface and add unit test for SchedulingAlgorithmAndrew xia2013-04-181-0/+14
|
* Changed locations for unit test logs.Tathagata Das2013-01-071-2/+2
|
* Modifications to make sure LocalScheduler terminate cleanly without errors ↵Tathagata Das2012-12-271-1/+1
| | | | when SparkContext is shutdown, to minimize spurious exception during master failure tests.
* Write all unit test output to a fileMatei Zaharia2012-10-011-4/+6
|
* Dynamically adding jar files and caching fileSets.Denny2012-09-101-0/+0
|
* Set log level in tests to WARNMatei Zaharia2012-08-231-0/+8