You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/03/23 21:28:25 UTC

[jira] [Commented] (SPARK-14102) Block `reset` command in SparkShell

    [ https://issues.apache.org/jira/browse/SPARK-14102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15209101#comment-15209101 ] 

Apache Spark commented on SPARK-14102:
--------------------------------------

User 'dongjoon-hyun' has created a pull request for this issue:
https://github.com/apache/spark/pull/11920

> 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