GitHub user AhyoungRyu opened a pull request:
https://github.com/apache/incubator-zeppelin/pull/764
Zeppelin 688
### What is this PR for?
When a user use Spark interpreter, the result comes out with result number
message like :
```
res0: Int = 250
```
Someone might want to print this REPL output with their result, but others
may want to see the result only since sometimes this output is too verbose. So,
I just want to give an option to hide this REPL output to those users.
The default value of `zeppelin.spark.printREPLOutput` is `true`. This
status is as-is. Users can hide REPL output only when they changes this
property `true` to `false`. In this case, they can check the result by
specifying such as `print(some_variable)`.
### What type of PR is it?
Improvement
### Todos
* [x] - Add a property `zeppelin.spark.printREPLOutput`
* [x] - Add Spark interpreter property table to `docs/spark.md`
### What is the Jira issue?
[ZEPPELIN-688](https://issues.apache.org/jira/browse/ZEPPELIN-688#)
### How should this be tested?
After applying this PR,
1. Create spark interpreter for this test and change
`zeppelin.spark.printREPLOutput` property value `true` -> `false`
2. Create a notebook and bind interpreter what you made.
3. Write `val a = 250` down and run this paragraph. Then you can check
the any output is not shown although paragraph status is **FINISHED** (This is
the result of this PR).
4. Run `print(a)` in the next paragraph. Then finally you can get a
result `250`.
### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? I added Spark interpreter property table
to `docs/spark.md`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/AhyoungRyu/incubator-zeppelin ZEPPELIN-688
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-zeppelin/pull/764.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #764
----
commit 85418e2626e821cb98c47415c6be119ae3517b9a
Author: AhyoungRyu <[email protected]>
Date: 2016-03-07T04:15:15Z
ZEPPELIN-688: Giving an option to hide REPL output in spark interpreter
commit 36a6b8d4491ce5efcfff41b57a155afc0bd34639
Author: AhyoungRyu <[email protected]>
Date: 2016-03-07T05:22:09Z
Add Spark interpreter property table to docs/spark.md
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---