{"action":"closed","issue":{"url":"https://api.github.com/repos/gearpump/gearpump/issues/1668","repository_url":"https://api.github.com/repos/gearpump/gearpump","labels_url":"https://api.github.com/repos/gearpump/gearpump/issues/1668/labels{/name}","comments_url":"https://api.github.com/repos/gearpump/gearpump/issues/1668/comments","events_url":"https://api.github.com/repos/gearpump/gearpump/issues/1668/events","html_url":"https://github.com/gearpump/gearpump/issues/1668","id":120923099,"number":1668,"title":"Error message should indicate the reason of application submission failure","user":{"login":"stanleyxu2005","id":5162687,"avatar_url":"https://avatars.githubusercontent.com/u/5162687?v=3","gravatar_id":"","url":"https://api.github.com/users/stanleyxu2005","html_url":"https://github.com/stanleyxu2005","followers_url":"https://api.github.com/users/stanleyxu2005/followers","following_url":"https://api.github.com/users/stanleyxu2005/following{/other_user}","gists_url":"https://api.github.com/users/stanleyxu2005/gists{/gist_id}","starred_url":"https://api.github.com/users/stanleyxu2005/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanleyxu2005/subscriptions","organizations_url":"https://api.github.com/users/stanleyxu2005/orgs","repos_url":"https://api.github.com/users/stanleyxu2005/repos","events_url":"https://api.github.com/users/stanleyxu2005/events{/privacy}","received_events_url":"https://api.github.com/users/stanleyxu2005/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gearpump/gearpump/labels/k:%20improvement","name":"k: improvement","color":"0052cc"},{"url":"https://api.github.com/repos/gearpump/gearpump/labels/m:%20core","name":"m: core","color":"bfd4f2"},{"url":"https://api.github.com/repos/gearpump/gearpump/labels/m:%20restapi","name":"m: restapi","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gearpump/gearpump/milestones/14","html_url":"https://github.com/gearpump/gearpump/milestones/Apache%20Migration","labels_url":"https://api.github.com/repos/gearpump/gearpump/milestones/14/labels","id":1683753,"number":14,"title":"Apache Migration","description":"Track issues that should be migrated to https://issues.apache.org/jira/browse/GEARPUMP/","creator":{"login":"clockfly","id":2595532,"avatar_url":"https://avatars.githubusercontent.com/u/2595532?v=3","gravatar_id":"","url":"https://api.github.com/users/clockfly","html_url":"https://github.com/clockfly","followers_url":"https://api.github.com/users/clockfly/followers","following_url":"https://api.github.com/users/clockfly/following{/other_user}","gists_url":"https://api.github.com/users/clockfly/gists{/gist_id}","starred_url":"https://api.github.com/users/clockfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clockfly/subscriptions","organizations_url":"https://api.github.com/users/clockfly/orgs","repos_url":"https://api.github.com/users/clockfly/repos","events_url":"https://api.github.com/users/clockfly/events{/privacy}","received_events_url":"https://api.github.com/users/clockfly/received_events","type":"User","site_admin":false},"open_issues":52,"closed_issues":16,"state":"open","created_at":"2016-04-05T06:22:04Z","updated_at":"2016-04-20T00:26:44Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-12-08T03:37:47Z","updated_at":"2016-04-20T00:26:44Z","closed_at":"2016-04-20T00:26:44Z","body":"If a cluster has 1000 free slots, but an application required 1001 slots to start, the application will be failed to start. We should clearly show the reason in response, rather than parsing its log to find out the failure reason.\r\n\r\nThis suggestion is inspired by investigating #1499"}}