spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pwendell <...@git.apache.org>
Subject [GitHub] spark pull request: SPARK-1004. PySpark on YARN
Date Thu, 06 Mar 2014 23:58:44 GMT
Github user pwendell commented on the pull request:

    https://github.com/apache/spark/pull/30#issuecomment-36953290
  
    Hey @sryza I tested this using a local standalone cluster and it didn't seem to work.
The executors failed when they were asked to launch pyspark:
    
    ```
    14/03/06 15:50:56 INFO Executor: Running task ID 1
    14/03/06 15:50:56 INFO Executor: Running task ID 2
    /usr/bin/python: No module named pyspark
    14/03/06 15:50:57 ERROR Executor: Exception in task ID 3
    java.io.EOFException
            at java.io.DataInputStream.readInt(DataInputStream.java:392)
            at org.apache.spark.api.python.PythonWorkerFactory.startDaemon(PythonWorkerFactory.scala:177)
            at org.apache.spark.api.python.PythonWorkerFactory.createThroughDaemon(PythonWorkerFactory.scala:55)
            at org.apache.spark.api.python.PythonWorkerFactory.create(PythonWorkerFactory.scala:42)
            at org.apache.spark.SparkEnv.createPythonWorker(SparkEnv.scala:88)
            at org.apache.spark.api.python.PythonRDD.compute(PythonRDD.scala:53)
            at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:239)
            at org.apache.spark.rdd.RDD.iterator(RDD.scala:230)
            at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:111)
    ```
    
    Here is what I ran:
    
        ./bin/spark-class org.apache.spark.deploy.master.Master
        ./bin/spark-class org.apache.spark.deploy.worker.Worker <master url>
        MASTER=<master url> ./bin/pyspark
        >>> sc.parallelize(range(1000), 10).count



---
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.
---

Mime
View raw message