You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/03/23 21:27:25 UTC
[jira] [Resolved] (SPARK-14102) Block `reset` command in SparkShell
[ https://issues.apache.org/jira/browse/SPARK-14102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-14102.
-------------------------------
Resolution: Duplicate
I think we decided to leave the stock Scala shell basically as-is here. I'm not as sure we can modify the 2.11 version now since we're not forking it?
> 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
> Priority: Minor
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org