You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@toree.apache.org by "chris snow (Jira)" <ji...@apache.org> on 2020/09/01 08:05:00 UTC

[jira] [Commented] (TOREE-234) Suggest expanding magics by Including ! shell commands attached

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

chris snow commented on TOREE-234:
----------------------------------

I recently used Toree with pyspark and found it really cumbersome not to be able to use magics.  Unfortunately, not having magics like bash significantly reduces the usability of Toree. 

With many spark environments now running in containers that are dedicated to the end user, are security concerns still so relevant?  Especially if this functionality could be enabled/disabled. by a flag.

> Suggest expanding magics by Including ! shell commands attached
> ---------------------------------------------------------------
>
>                 Key: TOREE-234
>                 URL: https://issues.apache.org/jira/browse/TOREE-234
>             Project: TOREE
>          Issue Type: Improvement
>            Reporter: Tom Brander
>
> Wish I knew enough to submit as a pull request, but I don't!
> https://github.com/jupyter/notebook/issues/746#issuecomment-165604607
> Indeed, MetaKernel can handle magics and shell commands (% and !, respectively). If the allspark is using the wrapper-kernel API, then MetaKernel is a drop in replacement and will give you magics, shell, and more. If it is written in some other language than Python, then you either need to fire up a connection to Python (to re-use IPython's magics, or MetKernel's magics) or rewrite them in the host language.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)