Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jarek/7470: handle failure in spark getOrCreate method #7484

Merged
merged 6 commits into from
Jun 6, 2018

Conversation

jaroslawmalekcodete
Copy link
Contributor

No description provided.

@scottdraves
Copy link
Contributor

scottdraves commented Jun 6, 2018

this works great but the error section is missing its title.
screen shot 2018-06-06 at 8 40 56 am

on the console it says:

2018-06-06 08:40:20:186 -0400 [Thread-0] ERROR SparkContext - Error initializing SparkContext.
org.apache.spark.SparkException: Could not parse Master URL: 'nothing://foo'
        at org.apache.spark.SparkContext$.org$apache$spark$SparkContext$$createTaskScheduler(SparkContext.scala:2767)
...

no sense showing them an confusing stack trace when the real info is hidden away.
unfortunately i can't see any reasonable way of capturing this info that spark logs.
so we should just have one line of text "Error creating SparkSession, see the console log for more explanation". put this to the right of the "Start" button instead of the bottom.

@scottdraves scottdraves merged commit c277e4a into master Jun 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants