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

Error: Could not find or load main class org.apache.spark.launcher.Main when run from a directory containing colon ':'

    XMLWordPrintableJSON

Details

    Description

      mkdir /tmp/qwe:rtz
      cd /tmp/qwe:rtz
      wget http://www-eu.apache.org/dist/spark/spark-1.6.1/spark-1.6.1-bin-without-hadoop.tgz
      tar xvzf spark-1.6.1-bin-without-hadoop.tgz 
      cd spark-1.6.1-bin-without-hadoop/
      bin/spark-submit
      

      Returns "Error: Could not find or load main class org.apache.spark.launcher.Main".

      That would not be such an issue if Mesos executor did not have colon in the generated paths. It means withtout hacking (define relative SPARK_HOME path by myself) there's no way to run a spark-job insode a mesos job container...

      Best regards, Adam.

      Attachments

        Activity

          People

            Unassigned Unassigned
            acecile Adam Cecile
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: