spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-9580) Refactor TestSQLContext to make it non-singleton
Date Tue, 11 Aug 2015 20:35:46 GMT

    [ https://issues.apache.org/jira/browse/SPARK-9580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14682443#comment-14682443
] 

Apache Spark commented on SPARK-9580:
-------------------------------------

User 'andrewor14' has created a pull request for this issue:
https://github.com/apache/spark/pull/8111

> Refactor TestSQLContext to make it non-singleton
> ------------------------------------------------
>
>                 Key: SPARK-9580
>                 URL: https://issues.apache.org/jira/browse/SPARK-9580
>             Project: Spark
>          Issue Type: Sub-task
>          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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message