Hi
My environment:
Windows 10,
Spark 1.6.1 built for Hadoop 2.6.0 Build
Python 2.7
Java 1.8
Issue:
Go to C:\Spark
The command:
bin\spark-submit --master local C:\Spark\examples\src\main\python\pi.py 10
gives:
File "<stdin>", line 1
bin\spark-submit --master local C:\Spark\examples\src\main\python\pi.py
SyntaxError: unexpected character after line continuation character
(^ caret pointing to 0 (of ..examples*.jar 10 in the command))
And the command
bin\spark-submit --class org.apache.spark.examples.SparkPi --master local
c:\Spark\lib\spark-examples*.jar 10
gives:
File "<stdin>", line 1
bin\spark-submit --class org.apache.spark.examples.SparkPi --master
local c:\Spark\lib\spark-examples*.jar 10
SyntaxError: unexpected character after line continuation character
(^ caret pointing to 0 (of ..examples*.jar 10 in the command))
How do I fix this problem? I am running spark on local.
--
Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/
---------------------------------------------------------------------
To unsubscribe e-mail: [email protected]