aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David McLaughlin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AURORA-495) UI should always show a pending reason
Date Mon, 02 Jun 2014 21:35:02 GMT

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

David McLaughlin commented on AURORA-495:
-----------------------------------------

This is the logic from the old UI that sets pending reason:

{code}
if (scheduledTask.getStatus() == PENDING) {
            String pendingReason;
            Set<Veto> vetoes = nearestFit.getNearestFit(task.getTaskId());
            if (vetoes.isEmpty()) {
              pendingReason = "No matching hosts.";
            } else {
              pendingReason = Joiner.on(",").join(Iterables.transform(vetoes, GET_REASON));
            }
            builder.put("pendingReason", pendingReason);
          }
{code}

> UI should always show a pending reason
> --------------------------------------
>
>                 Key: AURORA-495
>                 URL: https://issues.apache.org/jira/browse/AURORA-495
>             Project: Aurora
>          Issue Type: Bug
>          Components: Scheduler, UI
>            Reporter: Suman Karumuri
>            Assignee: David McLaughlin
>            Priority: Critical
>
> The pending reason in the UI is empty which leaves the user confused. The scheduler should
be updated to always show a reason for pending the task.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message