Re: Review Request 64033: Terminated driver-based executors if kill arrives before launch task.

2017-12-04 Thread Anand Mazumdar
t the connection breaks. - Anand Mazumdar On Dec. 4, 2017, 6:04 p.m., Alexander Rukletsov wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https:

Re: Review Request 63674: Updated a comment about resubscribing completed frameworks.

2017-11-08 Thread Anand Mazumdar
src/master/master.cpp Line 2671 (original), 2671 (patched) <https://reviews.apache.org/r/63674/#comment267868> While you are at it you can remove the bit about the driver since this function only applies to the HTTP based frameworks. - Anand Mazumdar On Nov. 8, 2017, 5:31 p.m.

Re: Review Request 62241: Added SchedulerHttpApiTest.UpdateHttpToPidSchedulerAndBack test.

2017-10-16 Thread Anand Mazumdar
> On Oct. 14, 2017, 1:40 a.m., Anand Mazumdar wrote: > > src/tests/scheduler_http_api_tests.cpp > > Lines 737-747 (patched) > > <https://reviews.apache.org/r/62241/diff/1/?file=1820104#file1820104line737> > > > > Kill this? We don't need this to te

Re: Review Request 62241: Added SchedulerHttpApiTest.UpdateHttpToPidSchedulerAndBack test.

2017-10-13 Thread Anand Mazumdar
src/tests/scheduler_http_api_tests.cpp Lines 737-747 (patched) <https://reviews.apache.org/r/62241/#comment265135> Kill this? We don't need this to test if the downgrade worked. - Anand Mazumdar On Sept. 12, 2017, 12:59

Re: Review Request 62240: Removed metrics removal from Master::failoverFramework().

2017-10-13 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62240/#review188052 --- Ship it! Ship It! - Anand Mazumdar On Sept. 12, 2017, 12:59

Re: Review Request 62479: Removed the logic for removing the latest symlink on the agent.

2017-09-29 Thread Anand Mazumdar
----- On Sept. 21, 2017, 8:28 p.m., Anand Mazumdar wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/62479/ >

Re: Review Request 62554: Added the ability to prune the gone agent list from the registry.

2017-09-29 Thread Anand Mazumdar
> This ensures agent doesn't recover old live executors. > > Step 2: Restart the agent. > > ``` > > Vinod Kone wrote: > this seems problematic, though i can't easily tell which test is > breaking. GarbageCollectorIntegrationTe

Re: Review Request 62481: Fixed tests impacted by no longer removing the agent symlink.

2017-09-26 Thread Anand Mazumdar
/62481/diff/3/ Changes: https://reviews.apache.org/r/62481/diff/2-3/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 62481: Fixed tests impacted by no longer removing the agent symlink.

2017-09-26 Thread Anand Mazumdar
/62481/diff/3/ Changes: https://reviews.apache.org/r/62481/diff/2-3/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 62554: Added the ability to prune the gone agent list from the registry.

2017-09-26 Thread Anand Mazumdar
anges: https://reviews.apache.org/r/62554/diff/4-5/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 62477: Added the gone agents to the master registry.

2017-09-26 Thread Anand Mazumdar
b5fc45887e25345d49feb4975f6256cfd7b0fe55 Diff: https://reviews.apache.org/r/62477/diff/4/ Changes: https://reviews.apache.org/r/62477/diff/3-4/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 62554: Added the ability to prune the gone agent list from the registry.

2017-09-26 Thread Anand Mazumdar
https://reviews.apache.org/r/62554/diff/3-4/ Testing --- make check Thanks, Anand Mazumdar

Review Request 62581: Added `__removeSlave` function and made `_markUnreachable` use it.

2017-09-26 Thread Anand Mazumdar
/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 62475: Added `MARK_AGENT_GONE` call to the v1 Master API.

2017-09-26 Thread Anand Mazumdar
ving the `latest` symlink. What do you think? - Anand --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62475/#review186171 ----

Re: Review Request 62479: Removed the logic for removing the latest symlink on the agent.

2017-09-26 Thread Anand Mazumdar
This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62479/#review186180 --- On Sept. 21, 2017, 8:28 p.m., Anand Mazumdar wrote: > > --- >

Re: Review Request 62478: Added the mark agent gone handler on the master.

2017-09-26 Thread Anand Mazumdar
cally generated e-mail. To reply, visit: https://reviews.apache.org/r/62478/#review186177 ------- On Sept. 21, 2017, 8:27 p.m., Anand Mazumdar wrote: > > --- >

Re: Review Request 62481: Fixed tests impacted by no longer removing the agent symlink.

2017-09-26 Thread Anand Mazumdar
: https://reviews.apache.org/r/62481/diff/2/ Changes: https://reviews.apache.org/r/62481/diff/1-2/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 62477: Added the gone agents to the master registry.

2017-09-26 Thread Anand Mazumdar
ps://reviews.apache.org/r/62477/#review186176 ------- On Sept. 21, 2017, 8:27 p.m., Anand Mazumdar wrote: > > --- > This is an automatically generated e-mail.

Review Request 62554: Added the ability to prune the gone agent list from the registry.

2017-09-25 Thread Anand Mazumdar
sting --- make check Thanks, Anand Mazumdar

Re: Review Request 62531: Added authorization for 'MARK_AGENT_GONE' call.

2017-09-25 Thread Anand Mazumdar
Restart the agent. > > ``` > > Andrew Schwartzmeyer wrote: > This appears to be failing due to > https://issues.apache.org/jira/browse/MESOS-7604. If you want to use > `TEST_F_TEMP_DISABLED_ON_WINDOWS` that'd be fine, and add a `// > TODO(andschwa): En

Review Request 62531: Added authorization for 'MARK_AGENT_GONE' call.

2017-09-24 Thread Anand Mazumdar
s.cpp d260a1c9560e8ff6b46eea7f2f4ddb11e18653e3 Diff: https://reviews.apache.org/r/62531/diff/1/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 62478: Added the mark agent gone handler on the master.

2017-09-24 Thread Anand Mazumdar
ched) <https://reviews.apache.org/r/62478/#comment262407> Separate this into two functions. - Anand Mazumdar On Sept. 21, 2017, 8:27 p.m., Anand Mazumdar wrote: > > --- > This is an automatically generated e-mai

Re: Review Request 62475: Added `MARK_AGENT_GONE` call to the v1 Master API.

2017-09-24 Thread Anand Mazumdar
://reviews.apache.org/r/62475/diff/4/ Changes: https://reviews.apache.org/r/62475/diff/3-4/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 62475: Added `MARK_AGENT_GONE` call to the v1 Master API.

2017-09-22 Thread Anand Mazumdar
aking it `repeated`. - Anand Mazumdar On Sept. 21, 2017, 9:38 p.m., Anand Mazumdar wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > http

Review Request 62507: Added documentation about 'MARK_AGENT_GONE' call.

2017-09-22 Thread Anand Mazumdar
://issues.apache.org/jira/browse/MESOS-8007 Repository: mesos Description --- See summary. Diffs - docs/operator-http-api.md f6cfcf1b8bbdc79fac2f361fb770546baf01d992 Diff: https://reviews.apache.org/r/62507/diff/1/ Testing --- Verified that the doc renders fine. Thanks, Anand

Re: Review Request 62476: Added the `REASON_AGENT_REMOVED_BY_OPERATOR` to the mesos protos.

2017-09-21 Thread Anand Mazumdar
dfba4181203e23f7eedf67c19379d031e0993fd5 Diff: https://reviews.apache.org/r/62476/diff/2/ Changes: https://reviews.apache.org/r/62476/diff/1-2/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 62475: Added `MARK_AGENT_GONE` call to the v1 Master API.

2017-09-21 Thread Anand Mazumdar
://reviews.apache.org/r/62475/diff/3/ Changes: https://reviews.apache.org/r/62475/diff/2-3/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 62475: Added `MARK_AGENT_GONE` call to the v1 Master API.

2017-09-21 Thread Anand Mazumdar
://reviews.apache.org/r/62475/diff/2/ Changes: https://reviews.apache.org/r/62475/diff/1-2/ Testing --- make check Thanks, Anand Mazumdar

Review Request 62480: Added tests for the agent gone operation.

2017-09-21 Thread Anand Mazumdar
_tests.cpp d260a1c9560e8ff6b46eea7f2f4ddb11e18653e3 Diff: https://reviews.apache.org/r/62480/diff/1/ Testing --- make check Thanks, Anand Mazumdar

Review Request 62481: Fixed tests impacted by no longer removing the agent symlink.

2017-09-21 Thread Anand Mazumdar
5581861e8ff834b4e79a51bef5f28aac7e7d259d src/tests/slave_recovery_tests.cpp 0cd2b5d37e35ccc2fa2c14db750d1314238bc312 src/tests/slave_tests.cpp e9bcfefd52e1e99a7a5877b2e7c30af958ca1723 Diff: https://reviews.apache.org/r/62481/diff/1/ Testing --- make check Thanks, Anand Mazumdar

Review Request 62479: Removed the logic for removing the latest symlink on the agent.

2017-09-21 Thread Anand Mazumdar
behavior when they come back post a reboot. Diffs - src/slave/slave.cpp 01020a624bdd67ee6371f607d897ad71a2cdcc82 Diff: https://reviews.apache.org/r/62479/diff/1/ Testing --- make check Thanks, Anand Mazumdar

Review Request 62478: Added the mark agent gone handler on the master.

2017-09-21 Thread Anand Mazumdar
dation.cpp a6e6a90af7d8d1242e28e93af551a2096db62939 Diff: https://reviews.apache.org/r/62478/diff/1/ Testing --- make check Thanks, Anand Mazumdar

Review Request 62477: Added the gone agents to the master registry.

2017-09-21 Thread Anand Mazumdar
--- make check Thanks, Anand Mazumdar

Review Request 62476: Added the `REASON_AGENT_REMOVED_BY_OPERATOR` to the mesos protos.

2017-09-21 Thread Anand Mazumdar
Diff: https://reviews.apache.org/r/62476/diff/1/ Testing --- make check Thanks, Anand Mazumdar

Review Request 62475: Added `MARK_AGENT_GONE` call to the v1 Master API.

2017-09-21 Thread Anand Mazumdar
new agent. Diffs - include/mesos/master/master.proto b94e90287982e620749c10bec77cf0af10318415 include/mesos/v1/master/master.proto 7499fa4f62ab18dd3cd4827461717bc9c688dc49 Diff: https://reviews.apache.org/r/62475/diff/1/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 62148: Made the `stop()` logic in the scheduler library simpler.

2017-09-07 Thread Anand Mazumdar
7;t had a dependency in the past. - Anand --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62148/#review184823 ------- On Se

Re: Review Request 62148: Made the `stop()` logic in the scheduler library simpler.

2017-09-06 Thread Anand Mazumdar
r.cpp ce69258027ed50867569374d2d827fc3cc651744 src/tests/mesos.hpp 444c75763aea995708db0b17eafee2d22c912554 Diff: https://reviews.apache.org/r/62148/diff/1/ Testing (updated) --- make check (Ensured tests still work when run in a loop) Thanks, Anand Mazumdar

Review Request 62148: Made the `stop()` logic in the scheduler library simpler.

2017-09-06 Thread Anand Mazumdar
s.hpp 444c75763aea995708db0b17eafee2d22c912554 Diff: https://reviews.apache.org/r/62148/diff/1/ Testing --- Thanks, Anand Mazumdar

Re: Review Request 61991: Added several logs to the C++ part of the v1-v0 adapter.

2017-08-31 Thread Anand Mazumdar
How about: "Disconnected with the Mesos master; invoking the disconnected callback" to be consistent with the registered logging message? - Anand Mazumdar On Aug. 31, 2017, 7:09 a.m., Alexander Rukletsov wrote: > >

Re: Review Request 61991: Added several logs to the C++ part of the v1-v0 adapter.

2017-08-30 Thread Anand Mazumdar
Ditto as above. We shouldn't double log here. - Anand Mazumdar On Aug. 30, 2017, 2:14 p.m., Alexander Rukletsov wrote: > > --- > This is an automatically generated e-mail. To reply, visit:

Re: Review Request 61580: Extracted JNI code into a protected function for clarity.

2017-08-30 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61580/#review184204 --- Ship it! Thanks for the cleanup! - Anand Mazumdar On Aug

Re: Review Request 61579: Ensured JAVA HTTP adapter propagates a subscription error.

2017-08-30 Thread Anand Mazumdar
mimic the invariant of the v1 interface that we can only receive an event after successfully connecting with the master? - Anand Mazumdar On Aug. 30, 2017, 2:16 p.m., Alexander Rukletsov wrote: > > --- > This is an automatica

Re: Review Request 61575: Added a test for verifying signal escalation on the default executor.

2017-08-16 Thread Anand Mazumdar
these new helpers first to be consistent within this file. - Anand --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61575/#review182895

Re: Review Request 61575: Added a test for verifying signal escalation on the default executor.

2017-08-16 Thread Anand Mazumdar
://reviews.apache.org/r/61575/diff/4/ Changes: https://reviews.apache.org/r/61575/diff/3-4/ Testing --- make check Thanks, Anand Mazumdar

Review Request 61693: Fixed a bug around the `kill()` not removing active containers.

2017-08-16 Thread Anand Mazumdar
/ Testing --- sudo make check (tests pass) Thanks, Anand Mazumdar

Re: Review Request 61573: Made the default executor support signal escalation.

2017-08-15 Thread Anand Mazumdar
iff: https://reviews.apache.org/r/61573/diff/4/ Changes: https://reviews.apache.org/r/61573/diff/3-4/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 61575: Added a test for verifying signal escalation on the default executor.

2017-08-15 Thread Anand Mazumdar
a1880595ff015475f1ba49437d49f7397da19422 Diff: https://reviews.apache.org/r/61575/diff/3/ Changes: https://reviews.apache.org/r/61575/diff/2-3/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 61668: Added support for kill policies to the default executor.

2017-08-15 Thread Anand Mazumdar
c25cc941eefc0cca998a99d76497bfdd05babe92 Diff: https://reviews.apache.org/r/61668/diff/3/ Changes: https://reviews.apache.org/r/61668/diff/2-3/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 61668: Added support for kill policies to the default executor.

2017-08-15 Thread Anand Mazumdar
c25cc941eefc0cca998a99d76497bfdd05babe92 Diff: https://reviews.apache.org/r/61668/diff/2/ Changes: https://reviews.apache.org/r/61668/diff/1-2/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 61668: Added support for kill policies to the default executor.

2017-08-15 Thread Anand Mazumdar
ps://reviews.apache.org/r/61668/#review182974 ------- On Aug. 15, 2017, 5:40 p.m., Anand Mazumdar wrote: > > --- > This is an automatically generated e-mail.

Re: Review Request 61574: Added `kill()` support to the test containerizer interface.

2017-08-15 Thread Anand Mazumdar
4bd40c32625bc1f7998d523c6ee81bf78ac74538 src/tests/containerizer.cpp 1d2b6391cf7a7545fa44206c59d05764f3e8cdfb Diff: https://reviews.apache.org/r/61574/diff/3/ Changes: https://reviews.apache.org/r/61574/diff/2-3/ Testing --- make check Thanks, Anand Mazumdar

Review Request 61668: Added support for kill policies to the default executor.

2017-08-15 Thread Anand Mazumdar
https://issues.apache.org/jira/browse/MESOS-6535 Repository: mesos Description --- See summary. Diffs - src/launcher/default_executor.cpp c25cc941eefc0cca998a99d76497bfdd05babe92 Diff: https://reviews.apache.org/r/61668/diff/1/ Testing --- make check Thanks, Anand

Re: Review Request 61574: Added `kill()` support to the test containerizer interface.

2017-08-14 Thread Anand Mazumdar
4bd40c32625bc1f7998d523c6ee81bf78ac74538 src/tests/containerizer.cpp 1d2b6391cf7a7545fa44206c59d05764f3e8cdfb Diff: https://reviews.apache.org/r/61574/diff/2/ Changes: https://reviews.apache.org/r/61574/diff/1-2/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 61570: Added the `kill()` function to the containerizer interface.

2017-08-14 Thread Anand Mazumdar
: https://reviews.apache.org/r/61570/diff/3/ Changes: https://reviews.apache.org/r/61570/diff/2-3/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 61573: Made the default executor support signal escalation.

2017-08-14 Thread Anand Mazumdar
e-mail. To reply, visit: https://reviews.apache.org/r/61573/#review182888 ------- On Aug. 14, 2017, 5:19 p.m., Anand Mazumdar wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/6

Re: Review Request 61575: Added a test for verifying signal escalation on the default executor.

2017-08-14 Thread Anand Mazumdar
b9776314a8781963b92ba9ac297654f61a443bc8 Diff: https://reviews.apache.org/r/61575/diff/2/ Changes: https://reviews.apache.org/r/61575/diff/1-2/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 61570: Added the `kill()` function to the containerizer interface.

2017-08-14 Thread Anand Mazumdar
/2/ Changes: https://reviews.apache.org/r/61570/diff/1-2/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 61572: Made `killNestedContainer()` use `kill()` on the containerizer.

2017-08-14 Thread Anand Mazumdar
nested container. Diffs (updated) - src/slave/http.cpp 2d33f0b498c8c819d1aaa6b39ae38b1009fda3e4 Diff: https://reviews.apache.org/r/61572/diff/2/ Changes: https://reviews.apache.org/r/61572/diff/1-2/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 61573: Made the default executor support signal escalation.

2017-08-14 Thread Anand Mazumdar
573/diff/2/ Changes: https://reviews.apache.org/r/61573/diff/1-2/ Testing --- make check Thanks, Anand Mazumdar

Review Request 61570: Added the `kill()` function to the containerizer interface.

2017-08-10 Thread Anand Mazumdar
, Anand Mazumdar

Review Request 61571: Added `kill()` call to the composing containerizer.

2017-08-10 Thread Anand Mazumdar
a003e1b80dc9b4dec5b3fbbadb2daecf855c90c7 Diff: https://reviews.apache.org/r/61571/diff/1/ Testing --- make check Thanks, Anand Mazumdar

Review Request 61572: Made `killNestedContainer()` use `kill()` on the containerizer.

2017-08-10 Thread Anand Mazumdar
://reviews.apache.org/r/61572/diff/1/ Testing --- make check Thanks, Anand Mazumdar

Review Request 61573: Made the default executor support signal escalation.

2017-08-10 Thread Anand Mazumdar
eeds to be done instead of using a constant grace period. Diffs - src/launcher/default_executor.cpp c25cc941eefc0cca998a99d76497bfdd05babe92 Diff: https://reviews.apache.org/r/61573/diff/1/ Testing --- make check Thanks, Anand Mazumdar

Review Request 61569: Added the field `signal` to the `KillNestedContainer` call.

2017-08-10 Thread Anand Mazumdar
9bac9541acd24e1123ca5dd5925e2a1381d13b4a include/mesos/v1/agent/agent.proto ea9282cf12fbe1c2ddeaa37223e4811685263734 Diff: https://reviews.apache.org/r/61569/diff/1/ Testing --- make check Thanks, Anand Mazumdar

Review Request 61574: Added `kill()` support to the test containerizer interface.

2017-08-10 Thread Anand Mazumdar
1d2b6391cf7a7545fa44206c59d05764f3e8cdfb Diff: https://reviews.apache.org/r/61574/diff/1/ Testing --- make check Thanks, Anand Mazumdar

Review Request 61575: Added a test for verifying signal escalation on the default executor.

2017-08-10 Thread Anand Mazumdar
/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 61222: Added V1 teardown Call.

2017-08-03 Thread Anand Mazumdar
make this function invoke that? Also, goes for L3751 - Anand Mazumdar On Aug. 3, 2017, 5:56 p.m., Quinn Leng wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://rev

Re: Review Request 61222: Added V1 teardown call.

2017-08-02 Thread Anand Mazumdar
part. Can you split the test into a separate review? src/master/http.cpp Lines 3791-3823 (patched) <https://reviews.apache.org/r/61222/#comment257873> Can this code be shared with the original `teardown()` method of the old API to avoid duplication? - Anand Mazumdar On July 28, 2017

Re: Review Request 60508: Fixed Attributes comparison.

2017-08-02 Thread Anand Mazumdar
g/r/60508/#comment257821> Missing indent. - Anand Mazumdar On July 26, 2017, 4:46 p.m., Ilya Pronin wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://re

Re: Review Request 61194: Updated the docs for V1 Events.

2017-07-27 Thread Anand Mazumdar
- > > (Updated July 27, 2017, 10 p.m.) > > > Review request for mesos, Anand Mazumdar and Greg Mann. > > > Bugs: MESOS-7246 > https://issues.apache.org/jira/browse/MESOS-7246 > > > Repository: mesos > > > Description > --- > > Ad

Re: Review Request 61194: Updated the docs for V1 Events.

2017-07-27 Thread Anand Mazumdar
(patched) <https://reviews.apache.org/r/61194/#comment257222> s/re-register/re-registers - Anand Mazumdar On July 27, 2017, 10 p.m., Quinn Leng wrote: > > --- > This is an automatically generated e-mail. To reply,

Re: Review Request 60928: Added 'FRAMEWORK_ADDED' event for master streaming api.

2017-07-27 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60928/#review181593 --- Ship it! Ship It! - Anand Mazumdar On July 25, 2017, 8:24

Re: Review Request 60929: Added 'FRAMEWORK_UPDATED' event for master streaming api.

2017-07-27 Thread Anand Mazumdar
ched) <https://reviews.apache.org/r/60929/#comment257180> Why newline here? - Anand Mazumdar On July 18, 2017, 12:18 a.m., Quinn Leng wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > http

Re: Review Request 60930: Added 'FRAMEWORK_REMOVED' event for master streaming api.

2017-07-27 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60930/#review181587 --- Ship it! Ship It! - Anand Mazumdar On July 18, 2017, 12:23

Re: Review Request 60931: Added test cases for framework streaming events.

2017-07-27 Thread Anand Mazumdar
src/tests/api_tests.cpp Lines 2082 (patched) <https://reviews.apache.org/r/60931/#comment257173> s/As a result, the/The - Anand Mazumdar On July 18, 2017, 12:29 a.m., Quinn Leng wrote: > > --- > This is an automatically gen

Re: Review Request 60931: Added test cases for framework streaming events.

2017-07-24 Thread Anand Mazumdar
with the master. ``` src/tests/api_tests.cpp Lines 2060-2062 (patched) <https://reviews.apache.org/r/60931/#comment256789> Kill this. Let's send a request to the `/teardown` endpoint to tear-down the framework and use that to verify the `FRAMEWORK_REMOVED` event

Re: Review Request 60930: Added 'FRAMEWORK_REMOVED' event for master streaming api.

2017-07-24 Thread Anand Mazumdar
ed event was that we only store the `AgentID` in the registry; so the `AgentInfo` is not available to us upon a failover. But, it seems like we already have `FrameworkInfo` available here. - Anand Mazumdar On July 18, 2017, 12:23 a.m., Quin

Re: Review Request 60929: Added 'FRAMEWORK_UPDATED' event for master streaming api.

2017-07-24 Thread Anand Mazumdar
uld ideally be sent here i.e., for all instances when a framework is recovered or not. src/master/master.cpp Lines 3138-3141 (patched) <https://reviews.apache.org/r/60929/#comment256774> Similar comments around where this should be placed as earlier. - Anand Mazumdar On July 18

Re: Review Request 60928: Added 'FRAMEWORK_ADDED' event for master streaming api.

2017-07-24 Thread Anand Mazumdar
we typically leave a newline after multi line statements. Might not be needed post my earlier comment. src/common/protobuf_utils.cpp Lines 830-838 (patched) <https://reviews.apache.org/r/60928/#comment256755> Ditto (new lines) - Anand Mazumdar On July 19, 2017, 6:47 p.m.

Re: Review Request 60928: Added 'FRAMEWORK_ADDED' event for master streaming api.

2017-07-19 Thread Anand Mazumdar
side `addFramework()` to be consistent with how `TASK_ADDED` and `TASK_UPDATED` events are being sent i.e., from `addTask()` and `updateTask()`? src/master/master.cpp Lines 3005 (patched) <https://reviews.apache.org/r/60928/#comment256301> Kill this; The line is self explanatory

Re: Review Request 59950: Added tests for `DefaultExecutor` setting `MESOS_CONTAINER_IP`.

2017-06-15 Thread Anand Mazumdar
<https://reviews.apache.org/r/59950/#comment251853> hmm, this would be flaky. We need to do this before sending the accept call? src/tests/containerizer/cni_isolator_tests.cpp Lines 1401 (patched) <https://reviews.apache.org/r/59950/#comment251854> Kill this. - An

Re: Review Request 59949: Added `MESOS_CONTAINER_IP` to tasks launched by `DefaultExecutor`.

2017-06-15 Thread Anand Mazumdar
ews.apache.org/r/59949/#comment251851> s/here// src/launcher/default_executor.cpp Lines 385 (patched) <https://reviews.apache.org/r/59949/#comment251849> s/from/from the - Anand Mazumdar On June 15, 2017, 12:38 a.m.,

Re: Review Request 59949: Added `MESOS_CONTAINER_IP` to tasks launched by `DefaultExecutor`.

2017-06-13 Thread Anand Mazumdar
/reviews.apache.org/r/59949/#comment251496> Also, in addition to the verbosity, can we do it only once since it's the same for all the tasks in the task group? See my earlier comments around moving this block outside. Also, use `'MESOS_CONTAINER_IP'` in quotes insid

Re: Review Request 59662: Changed `Executor` and `Framework` to class.

2017-05-31 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59662/#review176528 --- Ship it! Ship It! - Anand Mazumdar On May 30, 2017, 11:15

Re: Review Request 59671: Reordered `Slave` copy constructor and assignment operator.

2017-05-31 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59671/#review176526 --- Ship it! Ship It! - Anand Mazumdar On May 30, 2017, 11:50

Re: Review Request 59673: Combined an 'undef' workaround for Windows.

2017-05-31 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59673/#review176482 --- Ship it! Ship It! - Anand Mazumdar On May 30, 2017, 11:51

Re: Review Request 59672: Reordered gauge methods in `Slave` class.

2017-05-31 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59672/#review176480 --- Ship it! Ship It! - Anand Mazumdar On May 30, 2017, 11:51

Re: Review Request 59671: Reordered `Slave` copy constructor and assignment operator.

2017-05-31 Thread Anand Mazumdar
`? - Anand Mazumdar On May 30, 2017, 11:50 p.m., Jie Yu wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 59670: Removed an unnecessary declaration in slave.hpp.

2017-05-31 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59670/#review176478 --- Ship it! Ship It! - Anand Mazumdar On May 30, 2017, 11:50

Re: Review Request 59669: Removed some unnecessary std:: prefix in slave.cpp.

2017-05-31 Thread Anand Mazumdar
) <https://reviews.apache.org/r/59669/#comment249830> Move this below `std::set`? - Anand Mazumdar On May 30, 2017, 11:18 p.m., Jie Yu wrote: > > --- > This is an automatically generated e-mail. To reply,

Re: Review Request 59668: Removed an unnecessary function declaration from slave.hpp.

2017-05-31 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59668/#review176475 --- Ship it! Ship It! - Anand Mazumdar On May 30, 2017, 11:18

Re: Review Request 59667: Reordered the methods in `Framework` into logic units.

2017-05-31 Thread Anand Mazumdar
e this above `checkpointFramework()`? - Anand Mazumdar On May 30, 2017, 11:17 p.m., Jie Yu wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://re

Re: Review Request 59666: Moved Framework::addTask to the source file.

2017-05-31 Thread Anand Mazumdar
) <https://reviews.apache.org/r/59666/#comment249827> Update the summary/description to `hasTask()` instead of `addTask()`? - Anand Mazumdar On May 30, 2017, 11:17 p.m., Jie Yu wrote: > > --- > This is an automatically g

Re: Review Request 59665: Reordered the streaming functions in slave.hpp|cpp.

2017-05-31 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59665/#review176469 --- Ship it! Ship It! - Anand Mazumdar On May 30, 2017, 11:16

Re: Review Request 59664: Used `delete` for deleting copy constructor and assignment operator.

2017-05-31 Thread Anand Mazumdar
to be private anymore? - Anand Mazumdar On May 30, 2017, 11:16 p.m., Jie Yu wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.

Re: Review Request 59663: Removed unnecessary friend declaration for an stream operator.

2017-05-31 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59663/#review176467 --- Ship it! Good catch! - Anand Mazumdar On May 30, 2017, 11

Re: Review Request 59662: Changed `Executor` and `Framework` to class.

2017-05-31 Thread Anand Mazumdar
tps://reviews.apache.org/r/59662/#comment249825> hmm, I like it the other way around i.e., since this class has a lot of public fields, `struct` is more reasonable here. A `class` with default scoping as `public` seems non-intuitive. @bmahler what do you think? - Anand Mazumdar On May 30, 2017,

Re: Review Request 59661: Fixed some style issues in slave.hpp.

2017-05-31 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59661/#review176465 --- Ship it! Ship It! - Anand Mazumdar On May 30, 2017, 11:14

Re: Review Request 59660: Reordered some method definitions in `Slave` class.

2017-05-31 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59660/#review176464 --- Ship it! Ship It! - Anand Mazumdar On May 30, 2017, 11:14

Re: Review Request 59659: Used `delete` for `Slave` copy constructor and assignment operator.

2017-05-31 Thread Anand Mazumdar
constructor declaration now that it no longer needs to be private. This would help readability. - Anand Mazumdar On May 30, 2017, 11:14 p.m., Jie Yu wrote: > > --- > This is an automatically generated e-mail. To r

  1   2   3   4   5   6   7   8   9   10   >