Re: [Compilation Error][aufs] Getting erros compiling latest code on OSX

2016-06-07 Thread Shuai Lin
Oops, I forgot to put the aufs tests in the block guarded by the __liunx__ macro, sorry for that. I've posted a fix here: https://reviews.apache.org/r/48388/ @jieyu please take a look. On Wed, Jun 8, 2016 at 9:13 AM, Jay JN Guo wrote: > > Hi, > > I'm getting this error

Re: [Compilation Error][aufs] Getting erros compiling latest code on OSX

2016-06-07 Thread Jie Yu
+ Shuai Sent from my iPhone > On Jun 7, 2016, at 6:13 PM, Jay JN Guo wrote: > > > Hi, > > I'm getting this error when compiling latest code on OSX: > > In file included > from ../../src/tests/containerizer/provisioner_backend_tests.cpp:17: > In file included > from

[Compilation Error][aufs] Getting erros compiling latest code on OSX

2016-06-07 Thread Jay JN Guo
Hi, I'm getting this error when compiling latest code on OSX: In file included from ../../src/tests/containerizer/provisioner_backend_tests.cpp:17: In file included from ../../3rdparty/libprocess/include/process/gtest.hpp:16: In file included from

Fwd: [VOTE] Release Apache Mesos 1.0.0 (rc1)

2016-06-07 Thread Yan Xu
What do you think about this Vinod? I think we can remove this major version checking altogether. Backwards-incompatible changes would warrant a major version bump but not vise versa. Plus it's more standard to express and check dependency versions outside of the code but through package

Re: [VOTE] Release Apache Mesos 0.27.3 (rc1)

2016-06-07 Thread Vinod Kone
+1 (binding) Tested on ASF CI (NOTE: The failing build for ubuntu + gcc is a red herring) *Revision*: 68dd1f6a12c321a21a7e6e257d5a23b41d127273 - refs/tags/0.27.3-rc1 Configuration Matrix gcc clang centos:7 --verbose --enable-libevent --enable-ssl [image: Success]

Re: [VOTE] Release Apache Mesos 1.0.0 (rc1)

2016-06-07 Thread Kapil Arya
Here is a link to the rpm/deb packages for Mesos 1.0.0-rc1: http://open.mesosphere.com/downloads/mesos-rc/#apache-mesos-1.0.0-rc1 Please note that from this release (>=1.0.0-rc1) onwards, we are configuring Mesos with SSL support. We have also added `--enable-install-module-dependencies`

Re: 0.28.2 has been released

2016-06-07 Thread Kapil Arya
Hi All, The 0.28.2 rpm/deb packages can be found here: http://open.mesosphere.com/downloads/mesos/#apache-mesos-0.28.2 Best, Kapil On Mon, Jun 6, 2016 at 5:21 PM, Kapil Arya wrote: > Hi Craig, > > I should be sending out a link to the RPM packages in a couple of days.

Re: [VOTE] Release Apache Mesos 0.27.3 (rc1)

2016-06-07 Thread Kapil Arya
+1 (binding) Ran CI builds for various distros. The deb/rpm packages can be found here: http://open.mesosphere.com/downloads/mesos-rc/#apache-mesos-0.27.3-rc1 Kapil On Tue, Jun 7, 2016 at 1:42 PM, Jie Yu wrote: > Hi all, > > Please vote on releasing the following

Re: Does anyone know the MESOS-4675 is back-ported to 0.25?

2016-06-07 Thread haosdent
Hi, @tommy. I just posted https://issues.apache.org/jira/secure/attachment/12808712/MESOS-4675_0_25_0.patch You could use patch -p1 < MESOS-4675_0_25_0.patch to apply it locally. Noted that we need change ``` @@ -172,7 +172,7 @@ Try LinuxLauncher::create(const Flags& flags) return

Re: Mesos-5224: Looking for a shephard

2016-06-07 Thread Vinod Kone
Yes, I'll be happy to. On Tue, Jun 7, 2016 at 12:36 PM, Deshna Jain wrote: > Hi, > > I am looking for a shephard for the following issue: > > MESOS-5224 (buffer > overflow error in slave upon processing malformed UUIDs) >

Re: Does anyone know the MESOS-4675 is back-ported to 0.25?

2016-06-07 Thread Vinod Kone
As haosdent suggested, the list of branches is the easiest way to check which releases are supported. As for the EOL policy, every release is supported for 6 months. See https://github.com/apache/mesos/blob/master/docs/versioning.md On Tue, Jun 7, 2016 at 12:48 PM, haosdent

Re: Does anyone know the MESOS-4675 is back-ported to 0.25?

2016-06-07 Thread tommy xiao
thanks haosdent. I will modify the apply the patch ( https://reviews.apache.org/r/43582/) to 0.25 code base. 2016-06-08 0:48 GMT+08:00 haosdent : > @tommy Currently only 0.26.x, 0.27.0, 0.28.x under maintained. You could > check from https://github.com/apache/mesos/branches >

Re: Does anyone know the MESOS-4675 is back-ported to 0.25?

2016-06-07 Thread haosdent
@tommy Currently only 0.26.x, 0.27.0, 0.28.x under maintained. You could check from https://github.com/apache/mesos/branches Personally I could post a simple patch that just disable systemd for 0.25. But you need apply it manually. Is it OK for you? On Wed, Jun 8, 2016 at 12:42 AM, tommy xiao

Re: [HTTP API] Questions about v1 Operator API return value type

2016-06-07 Thread haosdent
Awesome! Let me post a patch for this shortly. On Wed, Jun 8, 2016 at 12:39 AM, Vinod Kone wrote: > Yes, seems ok to change the return type of *all *the RPC handlers to > http::Response to make it more flexible. > > On Tue, Jun 7, 2016 at 12:30 PM, Zhou Z Xing

Re: Does anyone know the MESOS-4675 is back-ported to 0.25?

2016-06-07 Thread tommy xiao
Vinod, How to know which version is EOL, any docs reference it? 2016-06-07 23:24 GMT+08:00 Vinod Kone : > 0.25.x is EOL'ed and hence no longer supported. > > On Tue, Jun 7, 2016 at 10:51 AM, Chengwei Yang > > wrote: > > > Seems it hasn't been

Re: [HTTP API] Questions about v1 Operator API return value type

2016-06-07 Thread Vinod Kone
Yes, seems ok to change the return type of *all *the RPC handlers to http::Response to make it more flexible. On Tue, Jun 7, 2016 at 12:30 PM, Zhou Z Xing wrote: > yes, the same question > > For some of the APIs, in addition to 'BadRequest', 'Forbidden' is also > required.

Mesos-5224: Looking for a shephard

2016-06-07 Thread Deshna Jain
Hi, I am looking for a shephard for the following issue: MESOS-5224 (buffer overflow error in slave upon processing malformed UUIDs) Can anyone help? Thanks Deshna

Re: [HTTP API] Questions about v1 Operator API return value type

2016-06-07 Thread Zhou Z Xing
yes, the same question For some of the APIs, in addition to 'BadRequest', 'Forbidden' is also required. Thanks & Best Wishes, Tom Xing(邢舟) Emerging Technology Institute, IBM China Software Development Lab -- IBM China Software Development Laboratory (CSDL) Notes ID:Zhou Z

Re: how to debug HTTP API

2016-06-07 Thread Vinod Kone
Olivier, on a side note, it's great to see that you are playing with the new HTTP API in python! I briefly looked at your linked code and it looks like you are mixing the business logic of your application and the Mesos API interaction in the same file. It would be great if (at some point) you can

Re: Rack awareness support for Mesos

2016-06-07 Thread Joris Van Remoortere
+dev. @Fan, I responded on the JIRA with some next steps. Thanks for bringing this up! — *Joris Van Remoortere* Mesosphere On Tue, Jun 7, 2016 at 12:58 PM, james wrote: > On 06/07/2016 09:57 AM, Du, Fan wrote: > >> >> >> On 2016/6/6 21:27, james wrote: >> >>> Hello, >>>

Re: how to debug HTTP API

2016-06-07 Thread Anand Mazumdar
Olivier, You are missing the “task_infos” key in your “ACCEPT” call. The master treats “Accept” operations with no launch tasks as declining offers implicitly. I would file a followup JIRA to ensure this is logged on the master (if not so). An example correct JSON:

[HTTP API] Questions about v1 Operator API return value type

2016-06-07 Thread haosdent
Currently, almost our v1 Operator API return value type is v1::master::Response. Now we validation `Call` by `validation::master::call::validate(call, principal)` and return `BadRequest` if it could not pass. In some cases, we need to validate the `Call` with other parameters. For example, ```

Re: how to debug HTTP API

2016-06-07 Thread Olivier Sallou
On 06/07/2016 04:53 PM, Guangya Liu wrote: > So how many agent nodes are there in your cluster? If you continue > receiving offer but without getting UPDATE message, then it may be caused > by that your task definition and the framework continually decline offer. I have only one node

Re: Does anyone know the MESOS-4675 is back-ported to 0.25?

2016-06-07 Thread Vinod Kone
0.25.x is EOL'ed and hence no longer supported. On Tue, Jun 7, 2016 at 10:51 AM, Chengwei Yang wrote: > Seems it hasn't been backported to 0.25.x so far. > > On Tue, Jun 07, 2016 at 08:49:20PM +0800, tommy xiao wrote: > > i need it on 0.25 feature. > > > > -- > >

Re: how to debug HTTP API

2016-06-07 Thread Guangya Liu
So how many agent nodes are there in your cluster? If you continue receiving offer but without getting UPDATE message, then it may be caused by that your task definition and the framework continually decline offer. Can you please share your framework code here for the logic of "Event:: OFFERS"?

Re: Does anyone know the MESOS-4675 is back-ported to 0.25?

2016-06-07 Thread Chengwei Yang
Seems it hasn't been backported to 0.25.x so far. On Tue, Jun 07, 2016 at 08:49:20PM +0800, tommy xiao wrote: > i need it on 0.25 feature. > > -- > Deshi Xiao > Twitter: xds2000 > E-mail: xiaods(AT)gmail.com -- Thanks, Chengwei signature.asc Description: Digital signature

Does anyone know the MESOS-4675 is back-ported to 0.25?

2016-06-07 Thread tommy xiao
i need it on 0.25 feature. -- Deshi Xiao Twitter: xds2000 E-mail: xiaods(AT)gmail.com

Re: Mesos 0.24.1 on Raspberry Pi 3

2016-06-07 Thread tommy xiao
only 0.24 can work on it. 0.25 use systemd and can't ignore it. 2016-06-07 7:50 GMT+08:00 Benjamin Mahler : > Cool stuff Andrew, thanks for sharing! > > On Thu, Jun 2, 2016 at 11:50 AM, Andrew Spyker > > wrote: > > > FYI, based on the work

Re: Proposal: move content in Wiki to docs in code repo

2016-06-07 Thread tommy xiao
+1, good point. 2016-06-07 3:18 GMT+08:00 Vinod Kone : > Works for me. Some things we might miss from wiki would be comments and > ability to watch for updates; but I don't think many people use them. > > On Mon, Jun 6, 2016 at 3:15 PM, Gilbert Song

Re: how to debug HTTP API

2016-06-07 Thread Olivier Sallou
On 06/07/2016 01:59 PM, Guangya Liu wrote: > I can see that your framework is now holding the offer, how did you launch > task? I execute an HTTP POST request in Python with json content-type: {'type': 'ACCEPT', 'framework_id': {'value': u'e303a1f0-4e7c-4c32-aafc-8707ea2b2718-0020'},

Re: how to debug HTTP API

2016-06-07 Thread Guangya Liu
I can see that your framework is now holding the offer, how did you launch task? Perhaps you can take a look at https://github.com/apache/mesos/blob/master/src/cli/execute.cpp#L311 which is an example framework using HTTP API Thanks, Guangya On Tue, Jun 7, 2016 at 7:19 PM, Olivier Sallou

Re: how to debug HTTP API

2016-06-07 Thread Olivier Sallou
On 06/07/2016 12:25 PM, Guangya Liu wrote: > Olivier, > > For such case, seems there is sth wrong with your framework? can you please > run the following two commands and check the output? I don't think it is a framework issue, I receive offers, heartbeats etc... It is only at task creation

Re: how to debug HTTP API

2016-06-07 Thread Guangya Liu
Olivier, For such case, seems there is sth wrong with your framework? can you please run the following two commands and check the output? curl "http://:5050/master/frameworks" 2>/dev/null|python -m json.tool curl "http://:5050/master/state" 2>/dev/null|python -m json.tool Thanks, Guangya On

how to debug HTTP API

2016-06-07 Thread Olivier Sallou
Hi, I am trying to switch from Python to HTTP API. I use mesos 0.28.1 I could create framework to register, receive offers etc... but I have an issue accepting offers. I send my ACCEPT message but I do not receive any UPDATE message, only new offers and hearbeat messages. On mesos master logs

Re: [VOTE] Release Apache Mesos 1.0.0 (rc1)

2016-06-07 Thread Jörg Schad
Hi, the authorization documentation in the RC seems to be messing some changes introduced by https://issues.apache.org/jira/browse/MESOS-5405. We already added and committed fixes as part this ticket (see

Re: mesos 0.28.2 release doesn't update version number

2016-06-07 Thread Shuai Lin
configure.ac is correct: https://github.com/apache/mesos/blob/0.28.2/configure.ac#L21 CMakeLists.txt is kinda out of date: https://github.com/apache/mesos/blob/0.28.2/CMakeLists.txt#L22-L24 On Tue, Jun 7, 2016 at 3:51 PM, Chengwei Yang wrote: > On Tue, Jun 07, 2016

Re: mesos 0.28.2 release doesn't update version number

2016-06-07 Thread haosdent
Where you down the pacakge, I downloaded from http://archive.apache.org/dist/mesos/0.28.2/mesos-0.28.2.tar.gz and configure.ac looks correct for me. On Tue, Jun 7, 2016 at 3:51 PM, Chengwei Yang wrote: > On Tue, Jun 07, 2016 at 03:33:39PM +0800, Chengwei Yang wrote:

Re: mesos 0.28.2 release doesn't update version number

2016-06-07 Thread Chengwei Yang
On Tue, Jun 07, 2016 at 03:33:39PM +0800, Chengwei Yang wrote: > Hi List, > > Just pull down the latest v0.28.2 release and found that the version number in > CMakeLists.txt and configure.ac is still 0.28.1, I think the release engineer even worse, the version in CMakeLists.txt is still 0.28.0.

Re: [C++11] Please use `nullptr`!

2016-06-07 Thread Tomek Janiszewski
No, we left it untouched. I prepared simple check that could be reviewed here https://reviews.apache.org/r/48320/ It's far from perfect, but works in most cases. The real solution will be using clang-modernize. Best Tomek wt., 7.06.2016 o 01:15 użytkownik Benjamin Mahler

mesos 0.28.2 release doesn't update version number

2016-06-07 Thread Chengwei Yang
Hi List, Just pull down the latest v0.28.2 release and found that the version number in CMakeLists.txt and configure.ac is still 0.28.1, I think the release engineer forgot to bump it, am I right? -- Thanks, Chengwei signature.asc Description: Digital signature