spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Rosellini <>
Subject defining classes in Spark REPL
Date Wed, 29 Jan 2014 14:04:05 GMT
Hello everybody,
I'm seeing a slightly different behaviour between Spark REPL (0.9) and Scala
REPL (2.10.3).
When defining the following new class in the REPL:
class TempOutputEntity

and issuing a classOf[TempOutputEntity] in the Scala REPL I get:
Class[TempOutputEntity] = class TempOutputEntity

while issuing the same command in Spark REPL I get:
Class[TempOutputEntity] = class

This prevents the instantiation of new instances using reflection.
Could anyone explain if this is a bug or the expected behaviour?


View this message in context:
Sent from the Apache Spark User List mailing list archive at
View raw message