In the current code, when both partitions happen to have zero-length, the return mean will be NaN.
Consequently, the result of mean after reducing over all partitions will also be NaN,
which is not correct if there are partitions with non-zero length. This patch fixes this issue.
Don't write zero block files with java serializer
Pass in bufferSize to BufferedOutputStream
update according to comments
Clean up variables and counters in BlockFetcherIterator
Decoupling spark version from ami
Adding spark shark modules
Fixing syntax error
Removing now defunct ami documentation
Minor doc cleanup
Merge pull request #634 from xiajunluan/master

[Spark-753] Fix ClusterSchedulSuite unit test failed
Small code style fix to SchedulingAlgorithm.scala
Merge pull request #631 from jerryshao/master

Fix block manager UI display issue when enable spark.cleaner.ttl
Small formatting and style fixes
modify to pass job annotation by localProperties and use daeamon thread to do joblogger's work
Merge branch 'master' of https://github.com/mesos/spark
delete test code for joblogger in SparkContext
Merge pull request #629 from c0s/master

Sometime Maven build runs out of PermGen space.
not check return value of eventQueue.take
Adding compression to Hadoop save functions