[
https://issues.apache.org/jira/browse/PIG-4489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14499453#comment-14499453
]
liyunzhang_intel commented on PIG-4489:
---------------------------------------
[~mohitsabharwal]:
"local cluster" you mentioned is spark standalone mode? if yes,
SPARK_MASTER="local-cluster [ 2 ,2, 1024 ]" is what? in spark standardalone
mode, just export SPARK_MASTER="spark://$MASTER_IP:$MASTER_PORT". If not,
please explain more about it.
We should add test/spark-local-tests if we enable test-spark-local mode. You
can just copy test/tez-local-tests to test/spark-local-tests and remove
TestPigStatsTez.java from the test/spark-local-tests.
> 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)