Github user aarondav commented on the pull request:
https://github.com/apache/spark/pull/369#issuecomment-40034991
You'll have to define your Ordering outside of the test class, otherwise it
will try to bring in the test class's implicit "RDDSuite.this" into the
closure. You can define it inside an RDDSuite companion object, that probably
preserves the desired visibility semantics.
---
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.
---