[ https://issues.apache.org/jira/browse/PIG-4489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14500877#comment-14500877 ]
Mohit Sabharwal commented on PIG-4489: -------------------------------------- [~kellyzly], see https://issues.apache.org/jira/browse/SPARK-595 "local-cluster is only for unit tests, to emulate a distributed cluster in a single JVM (it will still launch executors in separate ones, but at least you won't need one JVM per slave)." https://github.com/apache/spark/blob/a1fe59dae50f551d02dd18676308eca054ff6b07/core/src/test/scala/org/apache/spark/ShuffleSuite.scala#L50 {{SPARK_MASTER="spark://$MASTER_IP:$MASTER_PORT".}} doesn't make sense for unit tests. It is for testing against a proper Spark cluster. > Enable local mode tests for Spark engine > ---------------------------------------- > > Key: PIG-4489 > URL: https://issues.apache.org/jira/browse/PIG-4489 > Project: Pig > Issue Type: Sub-task > Components: spark > Reporter: Mohit Sabharwal > Assignee: Mohit Sabharwal > Fix For: spark-branch > > Attachments: PIG-4489.1.patch, PIG-4489.patch > > > Util.getLocalTestMode() currently only returns "tez_local" or "local". > I see that ~212 testcases do this check, and we are not running these tests > against Spark at this point. > Currently all Spark tests run in local mode ("local" as a the Spark Cluster > URL passed to JavaSparkContext), so we should enable these tests as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)