Carlo Curino commented on YARN-4248:

I added a few null checks which return more clear error messages (at least for 
the common mistakes). Also change the tests a little to use directly the .json 
(without parsing), this makes more precise validation and people can copy from 
the .json files in src/test/resources directly to see what to POST to this REST 

> REST API for submit/update/delete Reservations
> ----------------------------------------------
>                 Key: YARN-4248
>                 URL: https://issues.apache.org/jira/browse/YARN-4248
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>    Affects Versions: 2.8.0
>            Reporter: Carlo Curino
>            Assignee: Carlo Curino
>         Attachments: YARN-4248.2.patch, YARN-4248.3.patch, YARN-4248.5.patch, 
> YARN-4248.patch
> This JIRA tracks work to extend the RMWebService to support REST APIs to 
> submit/update/delete reservations. This will ease integration with external 
> tools that are not java-based.

This message was sent by Atlassian JIRA

Reply via email to