Sam-T
Sam-T

Reputation: 1965

Spark cannot find- spark-class-launcher-output-28018.txt

Using Spark1.6.2, win7-64, jdk8, have winutils, HADOOP_HOME. Have a valid spark setup, can run the examples, start spark-shell, etc %temp% is correctly setup C:\Users\~\AppData\Local\Temp

spark-submit --class "com.iot.app.spark.processor.IoTDataProcessor" iot-spark-processor-1.0.0.jar

The system cannot find the

file C:\Users\~\AppData\Local\Temp\spark-class-launcher-output-28018.txt

Thanks

Upvotes: 1

Views: 1453

Answers (2)

rio
rio

Reputation: 763

it's about using

""

with the class name

Upvotes: 0

Sam-T
Sam-T

Reputation: 1965

This has to do with Permissions on temp folders

List current permissions: %HADOOP_HOME%\bin\winutils.exe ls \tmp\hive

Set permissions: %HADOOP_HOME%\bin\winutils.exe chmod 777 \tmp\hive

Set permissions: %HADOOP_HOME%\bin\winutils.exe chmod 777 C:\Users\~\AppData\Local\Temp

Upvotes: 1

Related Questions