Andrew Or created SPARK-9580:
--------------------------------

             Summary: Refactor TestSQLContext to make it non-singleton
                 Key: SPARK-9580
                 URL: https://issues.apache.org/jira/browse/SPARK-9580
             Project: Spark
          Issue Type: Bug
          Components: SQL, Tests
    Affects Versions: 1.4.0
            Reporter: Andrew Or
            Assignee: Andrew Or
            Priority: Blocker


Because the TestSQLContext is a singleton object, there is literally no way to 
start a SparkContext in the SQL tests since we disallow multiple SparkContexts 
in the same JVM. Starting a custom SparkContext is useful when we want to run 
Spark in "local-cluster" mode or enable the UI, which is normally disabled.

This is a blocker for 1.5 because we currently have tests entirely commented 
out due to this limitation.

https://github.com/apache/spark/blob/7abaaad5b169520fbf7299808b2bafde089a16a2/sql/core/src/test/scala/org/apache/spark/sql/execution/joins/BroadcastJoinSuite.scala



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to