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

FileNotFoundException while deploying pyspark job on cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • None
    • None
    • PySpark
    • EMR

    Description

      I am trying to run simple spark job using pyspark, it works as standalone , but while I deploy over cluster it fails.

      Events :

      2015-09-24 10:38:49,602 INFO [main] yarn.Client (Logging.scala:logInfo(59)) - Uploading resource file:/usr/lib/spark/python/lib/pyspark.zip -> hdfs://ip-xxxx.ap-southeast-1.compute.internal:8020/user/hadoop/.sparkStaging/application_1439967440341_0461/pyspark.zip

      Above uploading resource file is successfull , I manually checked file is present in above specified path , but after a while I face following error :

      Diagnostics: File does not exist: hdfs://ip-xxx.ap-southeast-1.compute.internal:8020/user/hadoop/.sparkStaging/application_1439967440341_0461/pyspark.zip
      java.io.FileNotFoundException: File does not exist: hdfs://ip-1xxx.ap-southeast-1.compute.internal:8020/user/hadoop/.sparkStaging/application_1439967440341_0461/pyspark.zip

      Attachments

        Activity

          People

            Unassigned Unassigned
            harshit.sharma Harshit
            Votes:
            10 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: