aboutsummaryrefslogtreecommitdiff
path: root/core/src/test
Commit message (Collapse)AuthorAgeFilesLines
* fall back to filter-map-collect when calling lookup() on an RDD without a ↵Mark Hamstra2012-12-241-0/+11
| | | | partitioner
* Allow distinct() to be called without parentheses when using the default ↵Mark Hamstra2012-12-241-4/+8
| | | | number of splits.
* Let the slave notify the master block removal.Reynold Xin2012-12-201-23/+36
|
* Fixed conflicts from merging Charles' and TD's block manager changes.Reynold Xin2012-12-141-27/+4
|
* Merge branch 'master' of github.com:mesos/spark into spark-633Reynold Xin2012-12-131-7/+9
|\
| * Fixed the broken Java unit test from SPARK-635.Reynold Xin2012-12-131-7/+9
| |
* | Merged TD's block manager refactoring.Reynold Xin2012-12-131-25/+66
| |
* | Added the ability in block manager to remove blocks.Reynold Xin2012-12-131-10/+49
|/
* Use Akka scheduler for BlockManager heart beats.Charles Reiss2012-12-101-25/+25
| | | | Adds required ActorSystem argument to BlockManager constructors.
* Tests for block manager heartbeats.Charles Reiss2012-12-051-0/+68
|
* Added zip to Java APIMatei Zaharia2012-11-271-0/+15
|
* Added a zip() operation for RDDs with the same shape (number ofMatei Zaharia2012-11-271-0/+12
| | | | partitions and number of elements in each partition)
* Merge pull request #311 from woggling/map-output-npeMatei Zaharia2012-11-271-0/+51
|\ | | | | Fix NullPointerException when map output unregistered from MapOutputTracker twice
| * Tests for MapOutputTracker.Charles Reiss2012-11-271-0/+51
| |
* | For size compression, compress non zero values into non zero values.Reynold Xin2012-11-271-2/+2
|/
* Merge remote-tracking branch 'JoshRosen/shuffle_refactoring' into devMatei Zaharia2012-10-231-37/+2
|\ | | | | | | | | | | | | Conflicts: core/src/main/scala/spark/Dependency.scala core/src/main/scala/spark/rdd/CoGroupedRDD.scala core/src/main/scala/spark/rdd/ShuffledRDD.scala
| * Remove map-side combining from ShuffleMapTask.Josh Rosen2012-10-131-29/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This separation of concerns simplifies the ShuffleDependency and ShuffledRDD interfaces. Map-side combining can be performed in a mapPartitions() call prior to shuffling the RDD. I don't anticipate this having much of a performance impact: in both approaches, each tuple is hashed twice: once in the bucket partitioning and once in the combiner's hashtable. The same steps are being performed, but in a different order and through one extra Iterator.
| * Remove mapSideCombine field from Aggregator.Josh Rosen2012-10-131-15/+5
| | | | | | | | | | Instead, the presence or absense of a ShuffleDependency's aggregator will control whether map-side combining is performed.
| * Change ShuffleFetcher to return an Iterator.Josh Rosen2012-10-131-10/+14
| |
* | Take executor environment vars as an arguemnt to SparkContextMatei Zaharia2012-10-131-0/+6
|/
* Added a test for when an RDD only partially fits in memoryMatei Zaharia2012-10-121-2/+18
|
* Add test to verify if RDD is computed even if block manager has insufficientShivaram Venkataraman2012-10-121-0/+10
| | | | memory
* Change block manager to accept a ArrayBuffer instead of an iterator to ensureShivaram Venkataraman2012-10-112-9/+9
| | | | | that the computation can proceed even if we run out of memory to cache the block. Update CacheTracker to use this new interface
* Made compression configurable separately for shuffle, broadcast and RDDsMatei Zaharia2012-10-071-16/+80
|
* Fixed a bug in addFile that if the file is specified as "file:///", theReynold Xin2012-10-071-9/+22
| | | | symlink is created wrong for local mode.
* Removed the need to sleep in tests due to waiting for Akka to shut downMatei Zaharia2012-10-0714-19/+38
|
* Modified shuffle to limit the maximum outstanding data size in bytes,Matei Zaharia2012-10-062-4/+19
| | | | | | instead of the maximum number of outstanding fetches. This should make it faster when there are many small map output files, as well as more robust to overallocating memory on large map outputs.
* Pass sizes of map outputs back to MapOutputTrackerMatei Zaharia2012-10-061-0/+23
|
* Minor formatting fixesMatei Zaharia2012-10-051-1/+1
|
* Factor subclasses of RDD out of RDD.scala into their own classesAndy Konwinski2012-10-051-2/+6
| | | | in the rdd package.
* Moves all files in core/src/main/scala/ that have RDD in them fromAndy Konwinski2012-10-052-2/+5
| | | | package spark to package spark.rdd and updates all references to them.
* Fix SizeEstimator tests to work with String classes in JDK 6 and 7Shivaram Venkataraman2012-10-052-12/+29
| | | | | | Conflicts: core/src/test/scala/spark/BoundedMemoryCacheSuite.scala
* change tests to show utility of localValueImran Rashid2012-10-041-3/+4
|
* make accumulator.localValue public, add testsImran Rashid2012-10-041-0/+15
| | | | | Conflicts: core/src/test/scala/spark/AccumulatorSuite.scala
* Merge branch 'dev' of github.com:mesos/spark into devMatei Zaharia2012-10-021-3/+19
|\
| * Merge branch 'dev' of https://github.com/mesos/spark into devReynold Xin2012-10-021-3/+3
| |\
| * | Allow whitespaces in cluster URL configuration for local cluster.Reynold Xin2012-10-021-3/+19
| | |
* | | Added a test for overly large blocks in memory storeMatei Zaharia2012-10-021-0/+9
| | |
* | | Fixed cache replacement behavior of BlockManager:Matei Zaharia2012-10-021-6/+83
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | - Partitions that get dropped to disk will now be loaded back into RAM after they're accessed again - Same-RDD rule for cache replacement is now implemented (don't drop partitions from an RDD to make room for other partitions from itself) - Items stored as MEMORY_AND_DISK go into memory only first, instead of being eagerly written out to disk - MemoryStore.ensureFreeSpace is called within a lock on the writer thread to prevent race conditions (this can still be optimized to allow multiple concurrent calls to it but it's a start) - MemoryStore does not accept blocks larger than its limit
* | Revert "Place Spray repo ahead of Cloudera in Maven search path"Matei Zaharia2012-10-021-3/+3
|/ | | | This reverts commit 42e0a68082327c78dbd0fd313145124d9b8a9d98.
* Place Spray repo ahead of Cloudera in Maven search pathMatei Zaharia2012-10-021-3/+3
|
* Write all unit test output to a fileMatei Zaharia2012-10-011-4/+6
|
* Remove some printlns in testsMatei Zaharia2012-10-012-2/+5
|
* Added a (failing) test for LRU with MEMORY_AND_DISK.Matei Zaharia2012-09-301-3/+7
|
* Fixed several bugs that caused weird behavior with files in spark-shell:Matei Zaharia2012-09-302-1/+23
| | | | | | | | | - SizeEstimator was following through a ClassLoader field of Hadoop JobConfs, which referenced the whole interpreter, Scala compiler, etc. Chaos ensued, giving an estimated size in the tens of gigabytes. - Broadcast variables in local mode were only stored as MEMORY_ONLY and never made accessible over a server, so they fell out of the cache when they were deemed too large and couldn't be reloaded.
* CommentMatei Zaharia2012-09-291-1/+1
|
* Added a CoalescedRDD class for reducing the number of partitions in an RDD.Matei Zaharia2012-09-291-0/+31
|
* CommentMatei Zaharia2012-09-291-0/+1
|
* Made BlockManager unmap memory-mapped files when necessary to reduce theMatei Zaharia2012-09-291-2/+58
| | | | number of open files. Also optimized sending of disk-based blocks.
* Added an option to compress blocks in the block storeMatei Zaharia2012-09-271-0/+16
|