[
https://issues.apache.org/jira/browse/SPARK-10173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14708450#comment-14708450
]
SonixLegend commented on SPARK-10173:
-------------------------------------
Apache Zepplin is wrote and built on Scala 2.10, and it used Spark Repl
interpreter. It works on Spark which built Scala 2.10. But I have built a Spark
via Scala 2.11, then I updated the Zepplin to Scala 2.11, so I got the problem
about valueOfTerm function return none. You means it is not necessary. All
right, I think I can wait for Zepplin upgrade to Scala 2.11. Thanks for your
help.
> valueOfTerm get none when SparkIMain used on Java
> --------------------------------------------------
>
> Key: SPARK-10173
> URL: https://issues.apache.org/jira/browse/SPARK-10173
> Project: Spark
> Issue Type: Bug
> Components: Spark Shell
> Affects Versions: 1.4.1
> Environment: Spark 1.4.1 Scala 2.11 Java 1.7.0_21 Windows 8
> Reporter: SonixLegend
> Fix For: 1.4.2
>
>
> When I use Spark Repl on my Java project, I found if I had used the class
> SparkIMain via Scala 2.10 then the function valueOfTerm could get the term
> value, but if I had used same class via Scala 2.11, the valueOfTerm gave me a
> "none" result, and I checked the source code, found the line
> "sym.owner.companionSymbol" got none. Can you fix it? I used a alternative
> method, change valueOfTerm to eval, then it will get current result.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]