pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cheolsoo Park (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-3602) Tear down TezSessions when Pig exits
Date Thu, 19 Dec 2013 23:52:07 GMT

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

Cheolsoo Park commented on PIG-3602:
------------------------------------

+1. Works like a charm. Thanks!

One minor comment. We can break out of the loop after stopping the session in freeSession()
and stopSession(), can't we?

> Tear down TezSessions when Pig exits
> ------------------------------------
>
>                 Key: PIG-3602
>                 URL: https://issues.apache.org/jira/browse/PIG-3602
>             Project: Pig
>          Issue Type: Sub-task
>          Components: tez
>    Affects Versions: tez-branch
>            Reporter: Cheolsoo Park
>            Assignee: Rohini Palaniswamy
>             Fix For: tez-branch
>
>         Attachments: PIG-3602-1.patch, PIG-3602-2.patch, unit_test.txt
>
>
> Currently, Pig reuses AMs via TezSession, but they are not shut down when Pig exits.
There are two problems that I noticed with this-
> # Tez jobs are not marked as finished until TezSessions are expired after timeout. Since
they occupy task slots, it blocks submitting jobs.
> # ant clean test-tez leaves orphan processes (DAGAppMaster).
> Ideally, TezSession should be kept alive while Pig runs but tore down when Pig exits.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message