You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Sami Jaktholm (JIRA)" <ji...@apache.org> on 2016/09/11 07:50:21 UTC
[jira] [Created] (ZEPPELIN-1424) ZeppelinContext.show() fails to
display Datasets of custom classes
Sami Jaktholm created ZEPPELIN-1424:
---------------------------------------
Summary: ZeppelinContext.show() fails to display Datasets of custom classes
Key: ZEPPELIN-1424
URL: https://issues.apache.org/jira/browse/ZEPPELIN-1424
Project: Zeppelin
Issue Type: Bug
Affects Versions: 0.7.0
Environment: Spark 2.0.0
Reporter: Sami Jaktholm
Run the following code in Zeppelin Spark interpreter:
{code:java}
case class Test(key: String, value: String)
val data = spark.createDataset(Seq(
Test("k1", "v1"),
Test("k2", "v2")
))
z.show(data)
{code}
...and you get the following exception:
{noformat}
org.apache.zeppelin.interpreter.InterpreterException: java.lang.NoSuchMethodException: Test.isNullAt(int)
at org.apache.zeppelin.spark.ZeppelinContext.showDF(ZeppelinContext.java:271)
at org.apache.zeppelin.spark.ZeppelinContext.show(ZeppelinContext.java:191)
at org.apache.zeppelin.spark.ZeppelinContext.show(ZeppelinContext.java:153)
... 46 elided
Caused by: java.lang.NoSuchMethodException: Test.isNullAt(int)
at java.lang.Class.getMethod(Class.java:1786)
at org.apache.zeppelin.spark.ZeppelinContext.showDF(ZeppelinContext.java:254)
... 48 more
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)