Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-2242

Running sc.parallelize(..).count() hangs pyspark

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.0
    • Component/s: PySpark
    • Labels:
      None
    • Target Version/s:

      Description

      Running the following code hangs pyspark in a shell:

      sc.parallelize(range(100), 100).count()
      

      It happens in the master branch, but not branch-1.0. And it seems that it only happens in a pyspark shell. Andrew Or helped confirm this bug.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andrewor14 Andrew Or
                Reporter:
                mengxr Xiangrui Meng
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: