Github user watermen commented on a diff in the pull request:
https://github.com/apache/spark/pull/16677#discussion_r102892814
--- Diff: core/src/main/scala/org/apache/spark/MapOutputStatistics.scala ---
@@ -23,5 +23,9 @@ package org.apache.spark
* @param shuffleId ID of the shuffle
* @param bytesByPartitionId approximate number of output bytes for each
map output partition
* (may be inexact due to use of compressed map statuses)
+ * @param numberOfOutput number of output for each pre-map output partition
*/
-private[spark] class MapOutputStatistics(val shuffleId: Int, val
bytesByPartitionId: Array[Long])
+private[spark] class MapOutputStatistics(
+ val shuffleId: Int,
+ val bytesByPartitionId: Array[Long],
+ val numberOfOutput: Array[Int])
--- End diff --
Here, maybe Long is better.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]