pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Szita (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-5305) Enable yarn-client mode execution of tests in Spark (1) mode
Date Thu, 14 Sep 2017 16:28:00 GMT

    [ 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)

Mime
View raw message