You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Jay Guo <gu...@gmail.com> on 2017/02/14 07:13:21 UTC
Review Request 56644: Added a member variable in Slave to store slave
capabilities.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56644/
-----------------------------------------------------------
Review request for mesos, Benjamin Bannier, Benjamin Mahler, Guangya Liu, and Michael Park.
Bugs: MESOS-6902
https://issues.apache.org/jira/browse/MESOS-6902
Repository: mesos
Description
-------
Slave should have a way to access its own set of capabilities. This
patch introduced a member variable to store slave capabilities.
Diffs
-----
src/slave/slave.hpp 3b0aea4e3e9a17501077beccbccaab4abbe11af2
src/slave/slave.cpp ebba8e16bc9ec45781183e78cb5a3c351a5f65f5
Diff: https://reviews.apache.org/r/56644/diff/
Testing
-------
make check
Thanks,
Jay Guo
Re: Review Request 56644: Added a member variable in Slave to store
slave capabilities.
Posted by Benjamin Bannier <be...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56644/#review165480
-----------------------------------------------------------
I am not sure we need this here, see https://reviews.apache.org/r/56645/#comment237329.
- Benjamin Bannier
On Feb. 14, 2017, 8:13 a.m., Jay Guo wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/56644/
> -----------------------------------------------------------
>
> (Updated Feb. 14, 2017, 8:13 a.m.)
>
>
> Review request for mesos, Benjamin Bannier, Benjamin Mahler, Guangya Liu, and Michael Park.
>
>
> Bugs: MESOS-6902
> https://issues.apache.org/jira/browse/MESOS-6902
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Slave should have a way to access its own set of capabilities. This
> patch introduced a member variable to store slave capabilities.
>
>
> Diffs
> -----
>
> src/slave/slave.hpp 3b0aea4e3e9a17501077beccbccaab4abbe11af2
> src/slave/slave.cpp ebba8e16bc9ec45781183e78cb5a3c351a5f65f5
>
> Diff: https://reviews.apache.org/r/56644/diff/
>
>
> Testing
> -------
>
> make check
>
>
> Thanks,
>
> Jay Guo
>
>
Re: Review Request 56644: Added a constant to store agent
capabilities.
Posted by Benjamin Mahler <bm...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56644/#review166224
-----------------------------------------------------------
Ship it!
Ship It!
- Benjamin Mahler
On Feb. 20, 2017, 7:18 a.m., Jay Guo wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/56644/
> -----------------------------------------------------------
>
> (Updated Feb. 20, 2017, 7:18 a.m.)
>
>
> Review request for mesos, Benjamin Bannier, Benjamin Mahler, Guangya Liu, and Michael Park.
>
>
> Bugs: MESOS-6902
> https://issues.apache.org/jira/browse/MESOS-6902
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Instead of hardcoding in code, agent capabilities are stored in a
> constant and could be used by both agent initialization and http
> response generation.
>
>
> Diffs
> -----
>
> src/slave/constants.hpp 725689a51e7682218d34f1b0f6f1630140e2e2d0
> src/slave/slave.cpp 7564e8d39530794131dbbc928fcbc59fb65ef471
>
> Diff: https://reviews.apache.org/r/56644/diff/
>
>
> Testing
> -------
>
> make check
>
>
> Thanks,
>
> Jay Guo
>
>
Re: Review Request 56644: Added a constant to store agent
capabilities.
Posted by Jay Guo <gu...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56644/
-----------------------------------------------------------
(Updated Feb. 20, 2017, 3:18 p.m.)
Review request for mesos, Benjamin Bannier, Benjamin Mahler, Guangya Liu, and Michael Park.
Changes
-------
address bbannier's comments.
Summary (updated)
-----------------
Added a constant to store agent capabilities.
Bugs: MESOS-6902
https://issues.apache.org/jira/browse/MESOS-6902
Repository: mesos
Description (updated)
-------
Instead of hardcoding in code, agent capabilities are stored in a
constant and could be used by both agent initialization and http
response generation.
Diffs (updated)
-----
src/slave/constants.hpp 725689a51e7682218d34f1b0f6f1630140e2e2d0
src/slave/slave.cpp 7564e8d39530794131dbbc928fcbc59fb65ef471
Diff: https://reviews.apache.org/r/56644/diff/
Testing
-------
make check
Thanks,
Jay Guo