Dongjoon Hyun created SPARK-14102:
-------------------------------------

             Summary: 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