[ZEPPELIN-127] Fix issue raised by ZEPPELIN-127 related to DisplayUtils#133
[ZEPPELIN-127] Fix issue raised by ZEPPELIN-127 related to DisplayUtils#133doanduyhai wants to merge 2 commits intoapache:masterfrom
Conversation
|
Thanks for submitting the fix. Let me try it. |
|
Tested with following case and Looks good to me. |
|
Would this PR make it for 0.5.0 or delayed to 0.6.x ? |
|
I think it's better to have this PR on 0.6.x, because of this PR enabling new feature while 0.5.x are finalized and in a voting process. |
|
Ok, sounds reasonable. Let's release 0.5.0 with stable features then |
82c16d3 to
0f88e2d
Compare
|
@doanduyhai Do we have the still the need of that PR? |
|
@corneadoug Yes we need it, it's a very convenient helper class to display html/img ... |
|
@doanduyhai Then can you create a Jira issue for it and maybe update the PR description? |
|
@corneadoug Comment updated with original issue description. The JIRA is already created: https://issues.apache.org/jira/browse/ZEPPELIN-127 |
|
@doanduyhai Thanks, since it wasn't in the description, I didn't know |
|
master branch runs with out this patch. Do we still need this patch? |
|
Yes we do need this patch because |
|
@doanduyhai I see. Thanks for the explanation. Current master branch works with both scala-2.10 and scala-2.11 without rebuild, depending on which version of spark SPARK_HOME points. is displayUtils works in this way, too? |
|
The fix is using pretty standard Scala ( |
close #83 close #86 close #125 close #133 close #139 close #146 close #193 close #203 close #246 close #262 close #264 close #273 close #291 close #299 close #320 close #347 close #389 close #413 close #423 close #543 close #560 close #658 close #670 close #728 close #765 close #777 close #782 close #783 close #812 close #822 close #841 close #843 close #878 close #884 close #918 close #989 close #1076 close #1135 close #1187 close #1231 close #1304 close #1316 close #1361 close #1385 close #1390 close #1414 close #1422 close #1425 close #1447 close #1458 close #1466 close #1485 close #1492 close #1495 close #1497 close #1536 close #1545 close #1561 close #1577 close #1600 close #1603 close #1678 close #1695 close #1739 close #1748 close #1765 close #1767 close #1776 close #1783 close #1799

Dean1.Wood ([email protected]) reported the problem. Following code is throwing exception.
To fix the issue, simple trick: wrap the implicit value around an object and import it