You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Hussein Elgridly (JIRA)" <ji...@apache.org> on 2015/03/13 23:18:39 UTC

[jira] [Commented] (AURORA-1197) Cryptic error messages when attempting to use finalizer processes

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

Hussein Elgridly commented on AURORA-1197:
------------------------------------------

My workaround was to put them all in a single Task and order everything but the finalizer:

{code}
cmd_task = Task(
    name = 'cmd_task',
    processes = [ cmd_ps, cmd2_ps, finalizer_ps ],
    constraints = order(cmd_ps, cmd2_ps),
    resources = Resources( cpu = 1,
                            ram = 16*MB,
                            disk = 5*MB ))
{code}

> Cryptic error messages when attempting to use finalizer processes
> -----------------------------------------------------------------
>
>                 Key: AURORA-1197
>                 URL: https://issues.apache.org/jira/browse/AURORA-1197
>             Project: Aurora
>          Issue Type: Bug
>            Reporter: Hussein Elgridly
>            Priority: Minor
>
> SequentialTasks and finalizer processes do not play nicely together, even when I try and keep them well separated. At the very least this is a usability issue: the error messages are cryptic and don't really help me solve the problem.
> I've pared a repro down to a Gist: https://gist.github.com/helgridly/4a586661d93db9451f5f



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)