Re: Should "read-only" HTTP endpoints allow other request methods than "GET"?

2016-05-10 Thread Kevin Klues
There was some discussion of this between mpark and I in relation to the v1 operator API. The idea was to have a base class for endpoints that implement GET/POST/DELETE/PUT/etc... functions that return an error by default. You can then override the specific subset of them that that each endpoint

Re: Should "read-only" HTTP endpoints allow other request methods than "GET"?

2016-05-10 Thread Vinod Kone
+1 to only allow GET for read only @vinodkone > On May 10, 2016, at 6:37 AM, Jan Schlicht wrote: > > Hi guys, > > while working on HTTP endpoint authorization for Mesos, I found some > interesting behavior: It's the responsibility of the HTTP endpoint handlers > to

Should "read-only" HTTP endpoints allow other request methods than "GET"?

2016-05-10 Thread Jan Schlicht
Hi guys, while working on HTTP endpoint authorization for Mesos, I found some interesting behavior: It's the responsibility of the HTTP endpoint handlers to validate the HTTP request method they've been called with. Many "read-only" endpoints (e.g. "/flags", "/state") don't do this at the moment.

Re: mesos git commit: Replaced CHECK with CHECK_READY.

2016-05-10 Thread Neil Conway
Hi Ben, Thanks for raising this! My thinking for grouping the changes together in a single review is basically what AlexR said: I agree with doing "one thing per patch", but I felt like a header cleanup was sufficiently close to CHECK cleanup that they could be grouped together. If there's

[Unified Container] [Unit Test] Pay attention to your test case when using "alpine" docker image with INTERNET filter

2016-05-10 Thread Guangya Liu
Hi, We got two JIRA tickets for same issue about test failure on CentOS 7: 1) https://issues.apache.org/jira/browse/MESOS-5351 2) https://issues.apache.org/jira/browse/MESOS-4810 The issue for those two JIRA tickets are the test case will be failed on CentOS 7, the root cause is that on some

Re: Does Mesos have official dailybuild packages?

2016-05-10 Thread tommy xiao
https://github.com/mesosphere/mesos-deb-packaging is awesome project. 2016-05-10 13:37 GMT+08:00 Shuai Lin : > This repo may be helpful if you want to build deb pkgs yourself: > https://github.com/mesosphere/mesos-deb-packaging > > On Tue, May 10, 2016 at 1:17 PM, zhiwei

Re: Atomicity of multiple OfferOperations

2016-05-10 Thread Adam Bordelon
See also https://issues.apache.org/jira/browse/MESOS-3746 On Wed, May 4, 2016 at 6:13 PM, Benjamin Mahler wrote: > It's not done atomically. Yes it's possible that only RESERVE succeeded and > CREATE was dropped due to a failure in the master or agent. > > On Wed, May 4,

Looking for Shepherd for MESOS-2201

2016-05-10 Thread Tomek Janiszewski
Hi Can anyone help shepherd MESOS-2201 – Fixed replica log restore tests. This issue is first step to upgrade leveldb. https://issues.apache.org/jira/browse/MESOS-2201 https://reviews.apache.org/r/47161/ Thanks Tomek