Github user rxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1241#discussion_r14696085
  
    --- Diff: 
core/src/main/scala/org/apache/spark/shuffle/hash/HashShuffleManager.scala ---
    @@ -49,12 +52,21 @@ class HashShuffleManager(conf: SparkConf) extends 
ShuffleManager {
       /** Get a writer for a given partition. Called on executors by map 
tasks. */
       override def getWriter[K, V](handle: ShuffleHandle, mapId: Int, context: 
TaskContext)
           : ShuffleWriter[K, V] = {
    -    new HashShuffleWriter(handle.asInstanceOf[BaseShuffleHandle[K, V, _]], 
mapId, context)
    +    new HashShuffleWriter(
    +      hashShuffleBlockManager,handle.asInstanceOf[BaseShuffleHandle[K, V, 
_]], mapId, context)
    --- End diff --
    
    space before handle.asInstanceOf[BaseShuffleHandle


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to