mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Klaus Ma <klaus1982...@gmail.com>
Subject RE: Request offers based on Slave Attributes
Date Tue, 31 May 2016 08:25:52 GMT
Hi Nihal,
Currently, the Mesos master/allocator will ignore "requestResources"; as Guangya said, please
filter out the necessary by slave's attributes when you got offers.

----Da (Klaus), Ma (马达) | PMP® | Advisory Software Engineer Platform OpenSource Technology,
STG, IBM GCG +86-10-8245 4084 | klaus1982.cn@gmail.com | http://k82.me

Date: Tue, 31 May 2016 14:58:39 +0800
Subject: Re: Request offers based on Slave Attributes
From: gyliu513@gmail.com
To: user@mesos.apache.org

I think that you can filter the offers based on slave attribute, all of the offers are assigned
agent attributes in the offer: https://github.com/apache/mesos/blob/master/src/master/master.cpp#L5637
On Tue, May 31, 2016 at 2:33 PM, Nihal Harish <nihal42harish@gmail.com> wrote:
Hi,The mesos.proto file allows us to specify request offers based on only slave_id and resources,
is there some way to request offers based on slave attributes and/or hostname?Thanks.Regards,Nihal


 		 	   		  
Mime
View raw message