You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Kapil Arya <ka...@mesosphere.io> on 2014/10/18 21:14:55 UTC

Re: Review Request 26727: Allowed loading Isolator modules from module library.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26727/
-----------------------------------------------------------

(Updated Oct. 18, 2014, 3:14 p.m.)


Review request for mesos, Ian Downes and Niklas Nielsen.


Changes
-------

Addressed Nik's comments.


Summary (updated)
-----------------

Allowed loading Isolator modules from module library.


Repository: mesos-git


Description (updated)
-------

If an Isolator type is not found in the default list, the code now queries ModuleManager and creates a module instance if found.


Diffs (updated)
-----

  src/slave/containerizer/mesos/containerizer.cpp 9d083294caa5c5a47ba3ceaa1b57346144cb795c 

Diff: https://reviews.apache.org/r/26727/diff/


Testing (updated)
-------

Tested it in along with --isolation flag for mesos tests.


Thanks,

Kapil Arya


Re: Review Request 26727: Allowed loading Isolator modules from module library.

Posted by Niklas Nielsen <ni...@qni.dk>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26727/#review57886
-----------------------------------------------------------


In testing done: I raised a question in the --isolation test patch - I don't think you exercised the code? Have you tried manually to use the --isolation flag on the slave?

- Niklas Nielsen


On Oct. 22, 2014, 12:49 p.m., Kapil Arya wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26727/
> -----------------------------------------------------------
> 
> (Updated Oct. 22, 2014, 12:49 p.m.)
> 
> 
> Review request for mesos, Ian Downes and Niklas Nielsen.
> 
> 
> Bugs: MESOS-1931
>     https://issues.apache.org/jira/browse/MESOS-1931
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> If an Isolator type is not found in the default list, the code now queries ModuleManager and creates a module instance if found.
> 
> 
> Diffs
> -----
> 
>   src/slave/containerizer/mesos/containerizer.cpp 9d083294caa5c5a47ba3ceaa1b57346144cb795c 
> 
> Diff: https://reviews.apache.org/r/26727/diff/
> 
> 
> Testing
> -------
> 
> Tested it in along with --isolation flag for mesos tests.
> 
> 
> Thanks,
> 
> Kapil Arya
> 
>


Re: Review Request 26727: Allowed loading Isolator modules from module library.

Posted by Niklas Nielsen <ni...@qni.dk>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26727/#review57914
-----------------------------------------------------------

Ship it!


Ship It!

- Niklas Nielsen


On Oct. 22, 2014, 2:10 p.m., Kapil Arya wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26727/
> -----------------------------------------------------------
> 
> (Updated Oct. 22, 2014, 2:10 p.m.)
> 
> 
> Review request for mesos, Ian Downes and Niklas Nielsen.
> 
> 
> Bugs: MESOS-1931
>     https://issues.apache.org/jira/browse/MESOS-1931
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> If an Isolator type is not found in the default list, the code now queries ModuleManager and creates a module instance if found.
> 
> 
> Diffs
> -----
> 
>   src/slave/containerizer/mesos/containerizer.cpp 9d083294caa5c5a47ba3ceaa1b57346144cb795c 
> 
> Diff: https://reviews.apache.org/r/26727/diff/
> 
> 
> Testing
> -------
> 
> Tested manually by starting a slave with the test cpu isolator:
> ./bin/mesos-slave.sh --master=127.0.0.1:5050 --modules="/home/kapil/mesos/isolator-module/modules.json" --isolation="org_apache_mesos_TestCpuIsolator"
> 
> 
> Also tested it in along with --isolation flag for mesos tests.
> 
> 
> Thanks,
> 
> Kapil Arya
> 
>


Re: Review Request 26727: Allowed loading Isolator modules from module library.

Posted by Kapil Arya <ka...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26727/
-----------------------------------------------------------

(Updated Oct. 22, 2014, 5:10 p.m.)


Review request for mesos, Ian Downes and Niklas Nielsen.


Changes
-------

Updated testing description.


Bugs: MESOS-1931
    https://issues.apache.org/jira/browse/MESOS-1931


Repository: mesos-git


Description
-------

If an Isolator type is not found in the default list, the code now queries ModuleManager and creates a module instance if found.


Diffs
-----

  src/slave/containerizer/mesos/containerizer.cpp 9d083294caa5c5a47ba3ceaa1b57346144cb795c 

Diff: https://reviews.apache.org/r/26727/diff/


Testing (updated)
-------

Tested manually by starting a slave with the test cpu isolator:
./bin/mesos-slave.sh --master=127.0.0.1:5050 --modules="/home/kapil/mesos/isolator-module/modules.json" --isolation="org_apache_mesos_TestCpuIsolator"


Also tested it in along with --isolation flag for mesos tests.


Thanks,

Kapil Arya


Re: Review Request 26727: Allowed loading Isolator modules from module library.

Posted by Kapil Arya <ka...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26727/
-----------------------------------------------------------

(Updated Oct. 22, 2014, 3:49 p.m.)


Review request for mesos, Ian Downes and Niklas Nielsen.


Bugs: MESOS-1931
    https://issues.apache.org/jira/browse/MESOS-1931


Repository: mesos-git


Description
-------

If an Isolator type is not found in the default list, the code now queries ModuleManager and creates a module instance if found.


Diffs (updated)
-----

  src/slave/containerizer/mesos/containerizer.cpp 9d083294caa5c5a47ba3ceaa1b57346144cb795c 

Diff: https://reviews.apache.org/r/26727/diff/


Testing
-------

Tested it in along with --isolation flag for mesos tests.


Thanks,

Kapil Arya


Re: Review Request 26727: Allowed loading Isolator modules from module library.

Posted by Kapil Arya <ka...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26727/
-----------------------------------------------------------

(Updated Oct. 22, 2014, 4:04 a.m.)


Review request for mesos, Ian Downes and Niklas Nielsen.


Changes
-------

Rebased diff.


Bugs: MESOS-1931
    https://issues.apache.org/jira/browse/MESOS-1931


Repository: mesos-git


Description
-------

If an Isolator type is not found in the default list, the code now queries ModuleManager and creates a module instance if found.


Diffs (updated)
-----

  src/slave/containerizer/mesos/containerizer.cpp 9d083294caa5c5a47ba3ceaa1b57346144cb795c 

Diff: https://reviews.apache.org/r/26727/diff/


Testing
-------

Tested it in along with --isolation flag for mesos tests.


Thanks,

Kapil Arya


Re: Review Request 26727: Allowed loading Isolator modules from module library.

Posted by Kapil Arya <ka...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26727/
-----------------------------------------------------------

(Updated Oct. 20, 2014, 11:48 p.m.)


Review request for mesos, Ian Downes and Niklas Nielsen.


Bugs: MESOS-1931
    https://issues.apache.org/jira/browse/MESOS-1931


Repository: mesos-git


Description
-------

If an Isolator type is not found in the default list, the code now queries ModuleManager and creates a module instance if found.


Diffs
-----

  src/slave/containerizer/mesos/containerizer.cpp 9d083294caa5c5a47ba3ceaa1b57346144cb795c 

Diff: https://reviews.apache.org/r/26727/diff/


Testing
-------

Tested it in along with --isolation flag for mesos tests.


Thanks,

Kapil Arya


Re: Review Request 26727: Allowed loading Isolator modules from module library.

Posted by Kapil Arya <ka...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26727/
-----------------------------------------------------------

(Updated Oct. 20, 2014, 9:21 p.m.)


Review request for mesos, Ian Downes and Niklas Nielsen.


Repository: mesos-git


Description
-------

If an Isolator type is not found in the default list, the code now queries ModuleManager and creates a module instance if found.


Diffs (updated)
-----

  src/slave/containerizer/mesos/containerizer.cpp 9d083294caa5c5a47ba3ceaa1b57346144cb795c 

Diff: https://reviews.apache.org/r/26727/diff/


Testing
-------

Tested it in along with --isolation flag for mesos tests.


Thanks,

Kapil Arya