Track task value serialisation time in TaskMetrics.
UI to display serialisation time of a stage.
Incorporate pwendell's code review suggestions.
Merge branch 'master' of git://github.com/apache/incubator-spark
Missed a spot; had an objectSer here too.
objectSer -> valueSer in a test.
Add a serialisation time column to the StagePage.
Add collectPartition to JavaRDD interface.
Also remove takePartition from PythonRDD and use collectPartition in rdd.py.
Make collectPartitions take an array of partitions
Change the implementation to use runJob instead of PartitionPruningRDD.
Also update the unit tests and the python take implementation
to use the new interface.
Add comment explaining collectPartitions's use
Merge pull request #276 from shivaram/collectPartition

Add collectPartition to JavaRDD interface.

This interface is useful for implementing `take` from other language frontends where the data is serialized. Also remove `takePartition` from PythonRDD and use `collectPartition` in rdd.py.

Thanks @concretevitamin for the original change and tests.
Extraordinarily minor code/comment cleanup
Remove firstApp from the standalone scheduler Master

As a lonely child with no one to care for it... we had to put it down.
Fix compiler warning in SparkZooKeeperSession
Merge pull request #272 from tmyklebu/master

Track and report task result serialisation time.

 - DirectTaskResult now has a ByteBuffer valueBytes instead of a T value.
 - DirectTaskResult now has a member function T value() that deserialises valueBytes.
 - Executor serialises value into a ByteBuffer and passes it to DTR's ctor.
 - Executor tracks the time taken to do so and puts it in a new field in TaskMetrics.
 - StagePage now reports serialisation time from TaskMetrics along with the other things it reported.
Merge pull request #280 from aarondav/minor

Minor cleanup for standalone scheduler

See commit messages