You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Maziyar PANAHI (JIRA)" <ji...@apache.org> on 2018/07/12 18:46:00 UTC
[jira] [Created] (ZEPPELIN-3619) Multi-line code is not allowed:
illegal start of definition
Maziyar PANAHI created ZEPPELIN-3619:
----------------------------------------
Summary: Multi-line code is not allowed: illegal start of definition
Key: ZEPPELIN-3619
URL: https://issues.apache.org/jira/browse/ZEPPELIN-3619
Project: Zeppelin
Issue Type: Bug
Affects Versions: 0.8.0
Reporter: Maziyar PANAHI
Hi,
Previously I was able to have code like this in my 0.7.3 Spark Interpreter (YARN cluster):
{code:java}
val word2Vec = new Word2Vec()
.setInputCol("filtered")
.setOutputCol("word2vec")
.setVectorSize(100)
.setMinCount(10)
.setMaxIter(20){code}
But the same code in Zeppelin 0.8 on my local machine gives me this error (I am testing the new release before I upgrade the one on the cluster)
{code:java}
<console>:1: error: illegal start of definition{code}
Many thanks.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)