You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Bill Farner (JIRA)" <ji...@apache.org> on 2014/03/07 04:39:42 UTC

[jira] [Created] (AURORA-249) Optional is printed in scheduler thrift response message

Bill Farner created AURORA-249:
----------------------------------

             Summary: Optional is printed in scheduler thrift response message
                 Key: AURORA-249
                 URL: https://issues.apache.org/jira/browse/AURORA-249
             Project: Aurora
          Issue Type: Bug
          Components: Scheduler
            Reporter: Bill Farner
            Priority: Trivial


When a user attempts to create a job that exceeds their quota, a response is returned that looks like this:
{noformat}
 "INFO] Response from scheduler: INVALID_REQUEST (message: Insufficient resource quota: Optional.of(CPU quota exceeded by 4.00 core(s); RAM quota exceeded by 6144.00 MB; DISK quota exceeded by 2048.00 MB))"
{noformat}

The "Optional.of" wrapper is an implementation detail, and the contents should be unwrapped when the scheduler creates that message.



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