[ 
https://issues.apache.org/jira/browse/SPARK-14102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen updated SPARK-14102:
------------------------------
    Comment: was deleted

(was: 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to