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.
Add toString to Java RDD, and __repr__ to Python RDD
Merge pull request #278 from MLnick/java-python-tostring

Add toString to Java RDD, and __repr__ to Python RDD

Addresses [SPARK-992](https://spark-project.atlassian.net/browse/SPARK-992)
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.
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 #1 from apache/master

Merge latest Spark changes