You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Prashant Sharma (JIRA)" <ji...@apache.org> on 2016/06/14 10:40:01 UTC

[jira] [Updated] (SPARK-15942) Unblock `:reset` command in REPL.

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

Prashant Sharma updated SPARK-15942:
------------------------------------
    Description: 
As a follow up for SPARK-15697, I have following semantics for `:reset` command.
On `:reset` we forget all that user has done but not the initialization of spark. To avoid confusion or make it more clear, we show the message `spark` and `sc` are not erased, infact they are in same state as they were left by previous operations done by the user.

While doing above, somewhere I felt that this is not usually what reset means. But an accidental shutdown of a cluster can be very costly, so may be in that sense this is less surprising and still useful.



  was:
As a follow up for SPARK-15697, I have following semantics for `:reset` command.
On `:reset` we forget all that user has done but not the initialization of spark. To avoid confusion or make more clear, we show the message `spark` and `sc` are not erased, infact they are in same state as they were left by previous operation done by the user.

While doing above, somewhere I felt that this is not usually what reset means. But an accidental shutdown of a cluster can be very costly, so may be in that sense this is less surprising and still useful.




> Unblock `:reset` command in REPL.
> ---------------------------------
>
>                 Key: SPARK-15942
>                 URL: https://issues.apache.org/jira/browse/SPARK-15942
>             Project: Spark
>          Issue Type: Bug
>            Reporter: Prashant Sharma
>
> As a follow up for SPARK-15697, I have following semantics for `:reset` command.
> On `:reset` we forget all that user has done but not the initialization of spark. To avoid confusion or make it more clear, we show the message `spark` and `sc` are not erased, infact they are in same state as they were left by previous operations done by the user.
> While doing above, somewhere I felt that this is not usually what reset means. But an accidental shutdown of a cluster can be very costly, so may be in that sense this is less surprising and still useful.



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