GitHub user doanduyhai opened a pull request:
https://github.com/apache/incubator-zeppelin/pull/133
Fix issue raised by ZEPPELIN-127 related to DisplayUtils
To fix the issue, simple trick: *wrap the implicit value around an object
and import it*
```java
intp.interpret("object MaxResult {" +
"implicit val sparkMaxResult = new SparkMaxResult(" +
Integer.parseInt(getProperty("zeppelin.spark.maxResult")) + ")" +
"}");
intp.interpret("import MaxResult.sparkMaxResult");
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/doanduyhai/incubator-zeppelin FixDisplayUtils
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-zeppelin/pull/133.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 #133
----
commit 4ce03827577a4fdddafd80e7d62934030ed387b4
Author: DuyHai DOAN <[email protected]>
Date: 2015-06-30T11:06:14Z
Fix issue raised by ZEPPELIN-127 related to DisplayUtils
----
---
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.
---