You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by guowei2 <gi...@git.apache.org> on 2014/07/04 05:43:07 UTC

[GitHub] spark pull request: [SPARK-2364][STREAMING] ShuffledDStream run ta...

Github user guowei2 commented on the pull request:

    https://github.com/apache/spark/pull/1291#issuecomment-48006575
  
    when  numPartitioner is set to 0, HashPartitioner would not be failed ,because getPartition method would not be called.
    
    here is the DAGScheduler's code
    
        if (partitions.size == 0) {
          return new JobWaiter[U](this, jobId, 0, resultHandler)
        }



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