-
Notifications
You must be signed in to change notification settings - Fork 29.1k
[SPARK-14102][CORE] Block reset command in SparkShell
#11920
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
Conversation
reset command in SparkShellreset command in SparkShell
|
In Jira, I chose |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I see, hm, this is not actually tricky to implement now. Well, it's not a crazy idea, anyone have opinions on blocking :reset? People really just shouldn't call it, and should restart the shell.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for review, @srowen .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I didn't search properly to find the duplicated JIRA issue: SPARK-6335.
Thank you for correcting me there.
|
Test build #53965 has finished for PR 11920 at commit
|
|
Test build #53995 has finished for PR 11920 at commit
|
|
Test build #54053 has finished for PR 11920 at commit
|
|
Test build #54123 has finished for PR 11920 at commit
|
|
Hi, @srowen . |
|
OK. If it's pretty simple and there is no good reason to call reset (since it kills the |
|
Thank you for the positive feedback. Indeed, it was just one-line change to block |
|
Merged to master |
|
Thank you, @srowen ! |
What changes were proposed in this pull request?
Spark Shell provides an easy way to use Spark in Scala environment. This PR adds
resetcommand to a blocked list, also cleaned up according to the Scala coding style.If we blocks
reset, Spark Shell works like the followings.How was this patch tested?
Manual. Run
bin/spark-shelland type:reset.