diff options
author | Michael Armbrust <michael@databricks.com> | 2014-04-24 14:54:01 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-04-24 14:54:23 -0700 |
commit | c5c1916dd1b77e22759d58b5b361c56672983e3e (patch) | |
tree | 2b6fff1bcfd377176c5e5937b86b2bdfd05a6f00 /streaming | |
parent | bd375094a1480b0ff9c16ab8ddd2dba8731506df (diff) | |
download | spark-c5c1916dd1b77e22759d58b5b361c56672983e3e.tar.gz spark-c5c1916dd1b77e22759d58b5b361c56672983e3e.tar.bz2 spark-c5c1916dd1b77e22759d58b5b361c56672983e3e.zip |
SPARK-1494 Don't initialize classes loaded by MIMA excludes, attempt 2
[WIP]
Looks like scala reflection was invoking the static initializer:
```
...
at org.apache.spark.sql.test.TestSQLContext$.<init>(TestSQLContext.scala:25)
at org.apache.spark.sql.test.TestSQLContext$.<clinit>(TestSQLContext.scala)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at scala.reflect.runtime.JavaMirrors$JavaMirror.javaClass(JavaMirrors.scala:500)
at scala.reflect.runtime.JavaMirrors$JavaMirror.tryJavaClass(JavaMirrors.scala:505)
at scala.reflect.runtime.SymbolLoaders$PackageScope.lookupEntry(SymbolLoaders.scala:109)
...
```
Need to make sure that this doesn't change the exclusion semantics before merging.
Author: Michael Armbrust <michael@databricks.com>
Closes #526 from marmbrus/mima and squashes the following commits:
8168dea [Michael Armbrust] Spurious change
afba262 [Michael Armbrust] Prevent Scala reflection from running static class initializer.
Diffstat (limited to 'streaming')
0 files changed, 0 insertions, 0 deletions