mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominic Hamon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-1708) Using the wrong resource "name" should report a better error.
Date Tue, 17 Feb 2015 21:10:11 GMT

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

Dominic Hamon commented on MESOS-1708:
--------------------------------------

I think the spirit of the issue is that we should differentiate between a request for a resource
type that isn't known (due to a typo, or something) and a request for a resource type that
is known but the amount of which can't be satisfied.

The former doesn't exist but i think could be added by iterating through the resources in
'total' and checking that the name exists in the 'offered' Resources.

Having said that, I think the error 'Task uses more resources' that contains the stringified
resources for both offered and total should be enough to debug the issue.

Do you think it's worth the extra validation check?

> Using the wrong resource "name" should report a better error.
> -------------------------------------------------------------
>
>                 Key: MESOS-1708
>                 URL: https://issues.apache.org/jira/browse/MESOS-1708
>             Project: Mesos
>          Issue Type: Bug
>          Components: framework, master
>            Reporter: Benjamin Hindman
>            Assignee: Dominic Hamon
>              Labels: newbie, twitter
>
> If a scheduler launches a task using resources the master doesn't know about the task
validator causes the task to fail but the error message is not very helpful.



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

Mime
View raw message