You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Ben Mahler <be...@gmail.com> on 2013/02/22 01:31:03 UTC
Review Request: Resource Monitoring 1.5: Added source to ExecutorInfo.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9552/
-----------------------------------------------------------
Review request for mesos, Benjamin Hindman and Vinod Kone.
Description
-------
See comment above the source field for the motivation.
Diffs
-----
include/mesos/mesos.proto 38235157d45bdccb676e5c3241c21b585a6f8801
src/examples/java/TestFramework.java 8417394487a80b439e7d9897c83f0b2c1eb17ff4
src/examples/long_lived_framework.cpp 04ac678387dd78104b5d42fa1f7b5de1849b0701
src/examples/python/test_framework.py 269f532733ab82378bc1bd643107e6f9f2945d8b
src/examples/test_framework.cpp b9ab692414e4df64f176fc1ecd05f24ff089bde0
src/master/http.cpp 790961d6890841c456485491516d1991fe35ec16
src/slave/http.cpp b94197013ac0d5dd95d6dabb44812905a123184a
src/slave/slave.hpp e9f7b659ca2860501840b3d01e69915ebd162039
src/webui/master/static/slave_executor.html bd06e69b3c99a0a44993c31429d877914b644a1d
src/webui/master/static/slave_framework.html c66150ecb794300239c92ceaf684bfd3f1cb007e
Diff: https://reviews.apache.org/r/9552/diff/
Testing
-------
make check
Thanks,
Ben Mahler
Re: Review Request: Resource Monitoring 1.5: Added source to ExecutorInfo.
Posted by Ben Mahler <be...@gmail.com>.
> On Feb. 22, 2013, 6:42 p.m., Vinod Kone wrote:
> > include/mesos/mesos.proto, line 141
> > <https://reviews.apache.org/r/9552/diff/1/?file=261002#file261002line141>
> >
> > Why is it important for it to not contain spaces? Isn't it upto the framework?
> >
> > If definitely required, how about validating this (spaces do not exist) in the code on the master/slave?
> >
It's definitely not required, I'll update the comment to reflect that, thanks!
For background, benh and I wanted to convey that it was useful as an identifier, which I included in the comment. I'll kill the (no spaces) bit since we don't actually enforce that part.
It's unfortunate that we don't enforce rules on other identifiers (like disallowing / and other characters that are annoying).
> On Feb. 22, 2013, 6:42 p.m., Vinod Kone wrote:
> > include/mesos/mesos.proto, line 135
> > <https://reviews.apache.org/r/9552/diff/1/?file=261002#file261002line135>
> >
> > s/, used for/that can be used by/ ?
ended up doing s/, used for/ used by/
> On Feb. 22, 2013, 6:42 p.m., Vinod Kone wrote:
> > include/mesos/mesos.proto, line 137
> > <https://reviews.apache.org/r/9552/diff/1/?file=261002#file261002line137>
> >
> > s/be/to be/
thanks!
> On Feb. 22, 2013, 6:42 p.m., Vinod Kone wrote:
> > src/examples/java/TestFramework.java, lines 78-79
> > <https://reviews.apache.org/r/9552/diff/1/?file=261003#file261003line78>
> >
> > Can you update the Hadoop framework too?
> >
> > I think you also missed balloon and cpuset frameworks?
Done, thanks for catching that. Minus the cpuset framework, which is not in trunk.
- Ben
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9552/#review16952
-----------------------------------------------------------
On Feb. 22, 2013, 12:31 a.m., Ben Mahler wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9552/
> -----------------------------------------------------------
>
> (Updated Feb. 22, 2013, 12:31 a.m.)
>
>
> Review request for mesos, Benjamin Hindman and Vinod Kone.
>
>
> Description
> -------
>
> See comment above the source field for the motivation.
>
>
> Diffs
> -----
>
> include/mesos/mesos.proto 38235157d45bdccb676e5c3241c21b585a6f8801
> src/examples/java/TestFramework.java 8417394487a80b439e7d9897c83f0b2c1eb17ff4
> src/examples/long_lived_framework.cpp 04ac678387dd78104b5d42fa1f7b5de1849b0701
> src/examples/python/test_framework.py 269f532733ab82378bc1bd643107e6f9f2945d8b
> src/examples/test_framework.cpp b9ab692414e4df64f176fc1ecd05f24ff089bde0
> src/master/http.cpp 790961d6890841c456485491516d1991fe35ec16
> src/slave/http.cpp b94197013ac0d5dd95d6dabb44812905a123184a
> src/slave/slave.hpp e9f7b659ca2860501840b3d01e69915ebd162039
> src/webui/master/static/slave_executor.html bd06e69b3c99a0a44993c31429d877914b644a1d
> src/webui/master/static/slave_framework.html c66150ecb794300239c92ceaf684bfd3f1cb007e
>
> Diff: https://reviews.apache.org/r/9552/diff/
>
>
> Testing
> -------
>
> make check
>
>
> Thanks,
>
> Ben Mahler
>
>
Re: Review Request: Resource Monitoring 1.5: Added source to ExecutorInfo.
Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9552/#review16952
-----------------------------------------------------------
include/mesos/mesos.proto
<https://reviews.apache.org/r/9552/#comment35928>
s/, used for/that can be used by/ ?
include/mesos/mesos.proto
<https://reviews.apache.org/r/9552/#comment35927>
s/be/to be/
include/mesos/mesos.proto
<https://reviews.apache.org/r/9552/#comment35930>
Why is it important for it to not contain spaces? Isn't it upto the framework?
If definitely required, how about validating this (spaces do not exist) in the code on the master/slave?
src/examples/java/TestFramework.java
<https://reviews.apache.org/r/9552/#comment35929>
Can you update the Hadoop framework too?
I think you also missed balloon and cpuset frameworks?
- Vinod Kone
On Feb. 22, 2013, 12:31 a.m., Ben Mahler wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9552/
> -----------------------------------------------------------
>
> (Updated Feb. 22, 2013, 12:31 a.m.)
>
>
> Review request for mesos, Benjamin Hindman and Vinod Kone.
>
>
> Description
> -------
>
> See comment above the source field for the motivation.
>
>
> Diffs
> -----
>
> include/mesos/mesos.proto 38235157d45bdccb676e5c3241c21b585a6f8801
> src/examples/java/TestFramework.java 8417394487a80b439e7d9897c83f0b2c1eb17ff4
> src/examples/long_lived_framework.cpp 04ac678387dd78104b5d42fa1f7b5de1849b0701
> src/examples/python/test_framework.py 269f532733ab82378bc1bd643107e6f9f2945d8b
> src/examples/test_framework.cpp b9ab692414e4df64f176fc1ecd05f24ff089bde0
> src/master/http.cpp 790961d6890841c456485491516d1991fe35ec16
> src/slave/http.cpp b94197013ac0d5dd95d6dabb44812905a123184a
> src/slave/slave.hpp e9f7b659ca2860501840b3d01e69915ebd162039
> src/webui/master/static/slave_executor.html bd06e69b3c99a0a44993c31429d877914b644a1d
> src/webui/master/static/slave_framework.html c66150ecb794300239c92ceaf684bfd3f1cb007e
>
> Diff: https://reviews.apache.org/r/9552/diff/
>
>
> Testing
> -------
>
> make check
>
>
> Thanks,
>
> Ben Mahler
>
>
Re: Review Request: Resource Monitoring 1.5: Added source to ExecutorInfo.
Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9552/#review16970
-----------------------------------------------------------
Ship it!
Ship It!
- Vinod Kone
On Feb. 22, 2013, 8:06 p.m., Ben Mahler wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9552/
> -----------------------------------------------------------
>
> (Updated Feb. 22, 2013, 8:06 p.m.)
>
>
> Review request for mesos, Benjamin Hindman and Vinod Kone.
>
>
> Description
> -------
>
> See comment above the source field for the motivation.
>
>
> Diffs
> -----
>
> hadoop/mesos/src/java/org/apache/hadoop/mapred/MesosScheduler.java 90970ec112e84fdfb683b9e60dcfc1450278e21a
> include/mesos/mesos.proto 38235157d45bdccb676e5c3241c21b585a6f8801
> src/examples/balloon_framework.cpp 35bc0fe712edbf6130e10e93286c5278625be096
> src/examples/java/TestFramework.java 8417394487a80b439e7d9897c83f0b2c1eb17ff4
> src/examples/long_lived_framework.cpp 04ac678387dd78104b5d42fa1f7b5de1849b0701
> src/examples/python/test_framework.py 269f532733ab82378bc1bd643107e6f9f2945d8b
> src/examples/test_framework.cpp b9ab692414e4df64f176fc1ecd05f24ff089bde0
> src/master/http.cpp 790961d6890841c456485491516d1991fe35ec16
> src/slave/http.cpp b94197013ac0d5dd95d6dabb44812905a123184a
> src/slave/slave.hpp e9f7b659ca2860501840b3d01e69915ebd162039
> src/webui/master/static/slave_executor.html bd06e69b3c99a0a44993c31429d877914b644a1d
> src/webui/master/static/slave_framework.html c66150ecb794300239c92ceaf684bfd3f1cb007e
>
> Diff: https://reviews.apache.org/r/9552/diff/
>
>
> Testing
> -------
>
> make check
>
>
> Thanks,
>
> Ben Mahler
>
>
Re: Review Request: Resource Monitoring 1.5: Added source to ExecutorInfo.
Posted by Benjamin Hindman <be...@berkeley.edu>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9552/#review16969
-----------------------------------------------------------
Ship it!
- Benjamin Hindman
On Feb. 22, 2013, 8:06 p.m., Ben Mahler wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9552/
> -----------------------------------------------------------
>
> (Updated Feb. 22, 2013, 8:06 p.m.)
>
>
> Review request for mesos, Benjamin Hindman and Vinod Kone.
>
>
> Description
> -------
>
> See comment above the source field for the motivation.
>
>
> Diffs
> -----
>
> hadoop/mesos/src/java/org/apache/hadoop/mapred/MesosScheduler.java 90970ec112e84fdfb683b9e60dcfc1450278e21a
> include/mesos/mesos.proto 38235157d45bdccb676e5c3241c21b585a6f8801
> src/examples/balloon_framework.cpp 35bc0fe712edbf6130e10e93286c5278625be096
> src/examples/java/TestFramework.java 8417394487a80b439e7d9897c83f0b2c1eb17ff4
> src/examples/long_lived_framework.cpp 04ac678387dd78104b5d42fa1f7b5de1849b0701
> src/examples/python/test_framework.py 269f532733ab82378bc1bd643107e6f9f2945d8b
> src/examples/test_framework.cpp b9ab692414e4df64f176fc1ecd05f24ff089bde0
> src/master/http.cpp 790961d6890841c456485491516d1991fe35ec16
> src/slave/http.cpp b94197013ac0d5dd95d6dabb44812905a123184a
> src/slave/slave.hpp e9f7b659ca2860501840b3d01e69915ebd162039
> src/webui/master/static/slave_executor.html bd06e69b3c99a0a44993c31429d877914b644a1d
> src/webui/master/static/slave_framework.html c66150ecb794300239c92ceaf684bfd3f1cb007e
>
> Diff: https://reviews.apache.org/r/9552/diff/
>
>
> Testing
> -------
>
> make check
>
>
> Thanks,
>
> Ben Mahler
>
>
Re: Review Request: Resource Monitoring 1.5: Added source to ExecutorInfo.
Posted by Ben Mahler <be...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9552/
-----------------------------------------------------------
(Updated Feb. 22, 2013, 8:06 p.m.)
Review request for mesos, Benjamin Hindman and Vinod Kone.
Changes
-------
Updated with vinod's review.
make check + make hadoop-0.20.205.0
Description
-------
See comment above the source field for the motivation.
Diffs (updated)
-----
hadoop/mesos/src/java/org/apache/hadoop/mapred/MesosScheduler.java 90970ec112e84fdfb683b9e60dcfc1450278e21a
include/mesos/mesos.proto 38235157d45bdccb676e5c3241c21b585a6f8801
src/examples/balloon_framework.cpp 35bc0fe712edbf6130e10e93286c5278625be096
src/examples/java/TestFramework.java 8417394487a80b439e7d9897c83f0b2c1eb17ff4
src/examples/long_lived_framework.cpp 04ac678387dd78104b5d42fa1f7b5de1849b0701
src/examples/python/test_framework.py 269f532733ab82378bc1bd643107e6f9f2945d8b
src/examples/test_framework.cpp b9ab692414e4df64f176fc1ecd05f24ff089bde0
src/master/http.cpp 790961d6890841c456485491516d1991fe35ec16
src/slave/http.cpp b94197013ac0d5dd95d6dabb44812905a123184a
src/slave/slave.hpp e9f7b659ca2860501840b3d01e69915ebd162039
src/webui/master/static/slave_executor.html bd06e69b3c99a0a44993c31429d877914b644a1d
src/webui/master/static/slave_framework.html c66150ecb794300239c92ceaf684bfd3f1cb007e
Diff: https://reviews.apache.org/r/9552/diff/
Testing
-------
make check
Thanks,
Ben Mahler