Github user rawkintrevo commented on the issue:
https://github.com/apache/zeppelin/pull/928
If someone could help me out I'd appreciate it...
First of all, this works fine as expected in the notebooks (either way).
In MahoutSparkInterpreter.java line 89, there is a jar I can load.
If I don't load it, on testing only, I get the following error:
```
No Import : org.apache.mahout:mahout-spark-shell_2.10:0.12.1
<console>:35: error: type mismatch;
found : org.apache.spark.SparkContext
required: org.apache.mahout.sparkbindings.SparkDistributedContext
implicit val sdc: SparkDistributedContext = sc
^
```
If I do load it, again in testing only, I get the following errors
(truncated):
```
With org.apache.mahout:mahout-spark-shell_2.10:0.12.1:
== Enclosing template or block ==
Import( // val <import>: ImportType(org.apache.mahout.sparkbindings)
"org"."apache"."mahout"."sparkbindings" // final package sparkbindings in
package mahout, tree.tpe=org.apache.mahout.sparkbindings.type
List(
ImportSelector(_,1227,null,-1)
)
)
uncaught exception during compilation: scala.reflect.internal.FatalError
<console>:4: error: illegal inheritance;
self-type line2125238280$23.$read does not conform to scala.Serializable's
selftype Serializable
class $read extends Serializable {
^
<console>:4: error: Serializable does not have a constructor
class $read extends Serializable {
^
<console>:6: error: illegal inheritance;
self-type $read.this.$iwC does not conform to scala.Serializable's
selftype Serializable
class $iwC extends Serializable {
^
<console>:6: error: Serializable does not have a constructor
class $iwC extends Serializable {
^
<console>:11: error: illegal inheritance;
self-type $iwC does not conform to scala.Serializable's selftype
Serializable
class $iwC extends Serializable {
^
...
```
Since this works in the actual notebooks, I'm not sure what I'm doing wrong
in setting up the testing env. Any advice would be appreciated.
Thanks,
tg
---
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.
---