You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Adam Szita (JIRA)" <ji...@apache.org> on 2017/09/14 16:28:00 UTC

[jira] [Commented] (PIG-5305) Enable yarn-client mode execution of tests in Spark (1) mode

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

Adam Szita commented on PIG-5305:
---------------------------------

Attached [^PIG-5305.0.patch] to enable running tests in yarn-client mode for Spark execution.

Main changes:
* build.xml: added target to build a jar with all test classes. This is required so that we can pass this test jar onto SparkContext which then distributes it among Spark executors + set SPARK_MASTER env var to "yarn-client"
* SparkLauncher: added feature to re-initialize SparkContext when switching between cluster and local mode PigServers + only setting ChildFirstURLClassLoader during cluster mode

[~kellyzly] can you please take a look?


> Enable yarn-client mode execution of tests in Spark (1) mode
> ------------------------------------------------------------
>
>                 Key: PIG-5305
>                 URL: https://issues.apache.org/jira/browse/PIG-5305
>             Project: Pig
>          Issue Type: Sub-task
>          Components: spark
>            Reporter: Adam Szita
>            Assignee: Adam Szita
>         Attachments: PIG-5305.0.patch
>
>
> See parent jira (PIG-5305) for problem description



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)