[BUG]: Trying to follow the "Getting Started" guide step by step
See original GitHub issueDescribe the bug I was following the Getting Started guide step by step. When I execute the following:
C:\Users\j.shaer\source\repos\HelloSpark\HelloSpark\bin\Debug\netcoreapp2.1>spark-submit
`--class org.apache.spark.deploy.DotnetRunner ` --master local ` microsoft-spark-2.4.x-0.1.0.jar ` HelloSpark
I get this:
Exception in thread "main" org.apache.spark.SparkException: Cannot load main class from JAR file:/C:/Users/j.shaer/source/repos/HelloSpark/HelloSpark/bin/Debug/netcoreapp2.1/%60--class
at org.apache.spark.deploy.SparkSubmitArguments.error(SparkSubmitArguments.scala:657)
at org.apache.spark.deploy.SparkSubmitArguments.loadEnvironmentArguments(SparkSubmitArguments.scala:221)
at org.apache.spark.deploy.SparkSubmitArguments.<init>(SparkSubmitArguments.scala:116)
at org.apache.spark.deploy.SparkSubmit$$anon$2$$anon$3.<init>(SparkSubmit.scala:911)
at org.apache.spark.deploy.SparkSubmit$$anon$2.parseArguments(SparkSubmit.scala:911)
at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:81)
at org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:924)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:933)
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Issue Analytics
- State:
- Created 4 years ago
- Comments:26 (10 by maintainers)
Top Results From Across the Web
Bug Tracking Guide
How to track a bug in Backlog · Step 1: Check for duplicate bugs · Step 2: Create a new bug issue ·...
Read more >Bug Tracking Best Practices Guide
Check out this bug tracking guide and learn how to start tracking defects more efficiently using agile, to produce high-quality software.
Read more >The Definitive Guide to Bug Tracking
Download this guide to get the steps and workflows needed in order to effectively track and resolve bugs in your codebase.
Read more >How to Write a Good Bug Report [Step-By-Step Guide]
How do you write a good bug report? What details should you include when you report a bug? In this post, we'll explore...
Read more >Advanced Guide On How To Write A Bug Report
Step by step guide to observing the impacted functionality. Mention the environment and platform details and also the user type, whether the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
One temporary work-around to avoid seeing the spark temporary files error is to add the following two lines in the log4j.properties file of your spark installation:
Source: Stack Overflow
Just to help others - in your spark directory there is a conf directory - add those two lines to the “log4j.properties” file. If there is no “log4j.properties” there should be a “log4j.properties.template” - copy the .template and remove the “.template” then add those lines at the top and the error will be hidden