[
https://issues.apache.org/jira/browse/SPARK-14102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Owen updated SPARK-14102:
------------------------------
Assignee: Dongjoon Hyun
> Block `reset` command in SparkShell
> -----------------------------------
>
> Key: SPARK-14102
> URL: https://issues.apache.org/jira/browse/SPARK-14102
> Project: Spark
> Issue Type: Improvement
> Components: Spark Shell
> Reporter: Dongjoon Hyun
> Assignee: Dongjoon Hyun
> Priority: Minor
> Fix For: 2.0.0
>
>
> Spark Shell provides an easy way to use Spark in Scala environment. This
> issue proposes to block `reset` command provided by default.
> {code:title=bin/spark-shell|borderStyle=solid}
> scala> sc
> res0: org.apache.spark.SparkContext = org.apache.spark.SparkContext@718fad24
> scala> :reset
> scala> sc
> <console>:11: error: not found: value sc
> sc
> ^
> {code}
> If we blocks `reset`, Spark Shell works like the followings.
> {code:title=bin/spark-shell|borderStyle=solid}
> scala> :reset
> reset: no such command. Type :help for help.
> scala> :re
> re is ambiguous: did you mean :replay or :require?
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]