----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/40424/#review107719 -----------------------------------------------------------
Bad patch! Reviews applied: [40431] Failed command: ./support/apply-review.sh -n -r 40431 Error: 2015-11-24 05:53:22 URL:https://reviews.apache.org/r/40431/diff/raw/ [11466/11466] -> "40431.patch" [1] error: patch failed: include/mesos/master/allocator.hpp:100 error: include/mesos/master/allocator.hpp: patch does not apply error: patch failed: src/master/allocator/mesos/allocator.hpp:57 error: src/master/allocator/mesos/allocator.hpp: patch does not apply error: patch failed: src/master/allocator/mesos/hierarchical.hpp:93 error: src/master/allocator/mesos/hierarchical.hpp: patch does not apply error: patch failed: src/tests/allocator.hpp:345 error: src/tests/allocator.hpp: patch does not apply Failed to apply patch - Mesos ReviewBot On Nov. 24, 2015, 5:17 a.m., Yong Qiao Wang wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/40424/ > ----------------------------------------------------------- > > (Updated Nov. 24, 2015, 5:17 a.m.) > > > Review request for mesos, Adam B, Guangya Liu, Qian Zhang, and Jian Qiu. > > > Bugs: MESOS-3791 > https://issues.apache.org/jira/browse/MESOS-3791 > > > Repository: mesos > > > Description > ------- > > In this ticket, we will enhance the existing > HTTP endpoint to query roles as outlined in > the dynamic role design Doc. > > > Diffs > ----- > > src/master/http.cpp 1c4f1406f5d917f5d655a7d61d311365f8999ce0 > > Diff: https://reviews.apache.org/r/40424/diff/ > > > Testing > ------- > > Test results: > $ curl http://127.0.0.1:5050/roles > {"roles":[{"frameworks":[],"name":"cc","resources":{"cpus":0,"disk":0,"mem":0},"weight":1.0},{"frameworks":[],"name":"bb","resources":{"cpus":0,"disk":0,"mem":0},"weight":1.0},{"frameworks":[],"name":"aa","resources":{"cpus":0,"disk":0,"mem":0},"weight":1.0},{"frameworks":[],"name":"*","resources":{"cpus":0,"disk":0,"mem":0},"weight":1.0}]} > > $ curl http://127.0.0.1:5050/roles?roleName=aa > {"roles":[{"frameworks":[],"name":"aa","resources":{"cpus":0,"disk":0,"mem":0},"weight":1.0}]} > > > $ curl http://127.0.0.1:5050/roles?roleName=dd > The specified role [dd] does not exist! > > > Thanks, > > Yong Qiao Wang > >
