You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "David McLaughlin (JIRA)" <ji...@apache.org> on 2014/06/02 23:35:02 UTC

[jira] [Commented] (AURORA-495) UI should always show a pending reason

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