You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@toree.apache.org by "Kun Liu (JIRA)" <ji...@apache.org> on 2017/03/17 20:21:42 UTC

[jira] [Updated] (TOREE-395) Provide a way to disable automatic printing of results in Toree Scala

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

Kun Liu updated TOREE-395:
--------------------------
    Description: 
Scala REPL supports a flag, ":silent" to enable/disable automatic printing of results (those messages begin with "res"). This is also supported in Spark shell. But for Toree Scala kernel, this flag is not supported. Thus the result of a cell would be always printed.

But if there is any logging mechanism, the results would be recorded in a log file, while this may not be desirable. For instance, a user may not want any sensitive data logged when running "dataRDD.take(5)" in a cell.



> Provide a way to disable automatic printing of results in Toree Scala
> ---------------------------------------------------------------------
>
>                 Key: TOREE-395
>                 URL: https://issues.apache.org/jira/browse/TOREE-395
>             Project: TOREE
>          Issue Type: Improvement
>    Affects Versions: 0.2.0
>            Reporter: Kun Liu
>
> Scala REPL supports a flag, ":silent" to enable/disable automatic printing of results (those messages begin with "res"). This is also supported in Spark shell. But for Toree Scala kernel, this flag is not supported. Thus the result of a cell would be always printed.
> But if there is any logging mechanism, the results would be recorded in a log file, while this may not be desirable. For instance, a user may not want any sensitive data logged when running "dataRDD.take(5)" in a cell.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)