Re: Review Request 53479: Perform agent GC asynchronously.

2017-07-11 Thread Jiang Yan Xu
#comment255362> Put it above declaration? src/slave/gc.cpp Lines 194-195 (patched) <https://reviews.apache.org/r/53479/#comment255363> No need for passing both. In fact, `infos` is not used here when we should: there could be other entries of the same timeout added while the

Re: Review Request 56895: Added tests to ensure slave recovery post reboot.

2017-07-12 Thread Jiang Yan Xu
sn't look like we need to set this. src/tests/slave_recovery_tests.cpp Lines 2765 (patched) <https://reviews.apache.org/r/56895/#comment255429> Strictly speaking this is EXPECT_* src/tests/slave_recovery_tests.cpp Lines 2779 (patched) <https://reviews.apache.org/r/56895/#com

Review Request 60821: Introduced a "no sender" UPID.

2017-07-12 Thread Jiang Yan Xu
s.cpp b4d7791782a5d9e10fa44489057c8504d594bab2 3rdparty/libprocess/src/tests/process_tests.cpp c6109547d04bd06e9395e4ec5f5130fd1500f9a0 Diff: https://reviews.apache.org/r/60821/diff/1/ Testing --- make check. Thanks, Jiang Yan Xu

Re: Review Request 60821: Introduced a "no sender" UPID.

2017-07-13 Thread Jiang Yan Xu
- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60821/#review180383 ----------- On July 12, 2017, 5:04 p.m., Jiang Yan Xu wrote: > > ---

Review Request 60854: Changed the way tests capture agent state transitioning.

2017-07-13 Thread Jiang Yan Xu
/master_tests.cpp 6e6461c2e13c3eb055aa3c2d8ad8e3ac54a1d197 src/tests/reconciliation_tests.cpp 9c36b9a0558ab56ce45fdb93189a1b99f487ba4d Diff: https://reviews.apache.org/r/60854/diff/1/ Testing --- make check. Thanks, Jiang Yan Xu

Re: Review Request 60400: Skipped consulting registry if the agent is in the `slaves.recovered`.

2017-07-13 Thread Jiang Yan Xu
in the `slaves.recovered`. Diffs - src/master/master.cpp 33eca0d17459781fdc2ea915e8f40c78dd306962 Diff: https://reviews.apache.org/r/60400/diff/1/ Testing (updated) --- make check. Will add more tests. Thanks, Jiang Yan Xu

Re: Review Request 53479: Perform agent GC asynchronously.

2017-07-14 Thread Jiang Yan Xu
p; src/slave/gc.cpp Lines 210 (patched) <https://reviews.apache.org/r/53479/#comment255738> Use `CHECK_EQ(timeouts.erase(info->path), 1);`? - Jiang Yan Xu On July 13, 2017, 2:48 p.m., Jacob Janco wrote: > > ---

Re: Review Request 53479: Perform agent GC asynchronously.

2017-07-14 Thread Jiang Yan Xu
> On July 11, 2017, 6:47 p.m., Jiang Yan Xu wrote: > > src/slave/gc.cpp > > Lines 179 (patched) > > <https://reviews.apache.org/r/53479/diff/4/?file=1774291#file1774291line184> > > > > Better to call `onAny` and then `CHECK` that it's always ready

Re: Review Request 60821: Introduced a "no sender" UPID.

2017-07-14 Thread Jiang Yan Xu
` > > UPID and force them to explicitly pass the anonymous UPID. This makes the > > used of anonymous message sends explicit which I think is preferable to > > this implicit approach. > > Jiang Yan Xu wrote: > Here's my thinking: > > - In li

Re: Review Request 60821: Introduced a "no sender" UPID.

2017-07-14 Thread Jiang Yan Xu
` > > UPID and force them to explicitly pass the anonymous UPID. This makes the > > used of anonymous message sends explicit which I think is preferable to > > this implicit approach. > > Jiang Yan Xu wrote: > Here's my thinking: > > - In li

Review Request 60898: Added more tests for agent reregistration.

2017-07-16 Thread Jiang Yan Xu
035db18db3a64a9e358c1c54cc18a4bdeb85d8bf Diff: https://reviews.apache.org/r/60898/diff/1/ Testing --- make check. Thanks, Jiang Yan Xu

Review Request 60917: Used a real UPID to send `LearnedMessage`.

2017-07-17 Thread Jiang Yan Xu
check. Thanks, Jiang Yan Xu

Re: Review Request 53479: Perform agent GC asynchronously.

2017-07-17 Thread Jiang Yan Xu
pp Line 100 (original), 119 (patched) <https://reviews.apache.org/r/53479/#comment255950> `s/(unsigned long)1/1u/` src/slave/gc.cpp Lines 209 (patched) <https://reviews.apache.org/r/53479/#comment255951> `s/(unsigned long)1/1u/` - Jiang Yan Xu On July 14, 2017, 6:23

Re: Review Request 53479: Perform agent GC asynchronously.

2017-07-17 Thread Jiang Yan Xu
> On July 17, 2017, 1:43 p.m., Jiang Yan Xu wrote: > > src/slave/gc.hpp > > Lines 114-117 (original), 115-118 (patched) > > <https://reviews.apache.org/r/53479/diff/8/?file=1777247#file1777247line116> > > > > I see that `promise == that.promise` here is

Re: Review Request 60821: Introduced a "no sender" UPID.

2017-07-17 Thread Jiang Yan Xu
` > > UPID and force them to explicitly pass the anonymous UPID. This makes the > > used of anonymous message sends explicit which I think is preferable to > > this implicit approach. > > Jiang Yan Xu wrote: > Here's my thinking: > > - In li

Re: Review Request 53479: Perform agent GC asynchronously.

2017-07-17 Thread Jiang Yan Xu
> On July 17, 2017, 1:43 p.m., Jiang Yan Xu wrote: > > src/slave/gc.hpp > > Lines 114-117 (original), 115-118 (patched) > > <https://reviews.apache.org/r/53479/diff/8/?file=1777247#file1777247line116> > > > > I see that `promise == that.promise` here is

Re: Review Request 60925: Updated CHANGELOG for changed semantic of recovery.

2017-07-18 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60925/#review180813 --- Ship it! Committing with some minor edits. - Jiang Yan Xu

Re: Review Request 60917: Used a real UPID to send `LearnedMessage`.

2017-07-18 Thread Jiang Yan Xu
` > > > > :) Sure :) - Jiang Yan --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60917/#review180773 ------------

Re: Review Request 60400: Skipped consulting registry if the agent is in the `slaves.recovered`.

2017-07-18 Thread Jiang Yan Xu
/master.cpp d895154c00eef17511c46ddd0b75922f952707eb Diff: https://reviews.apache.org/r/60400/diff/3/ Changes: https://reviews.apache.org/r/60400/diff/2-3/ Testing --- make check. Will add more tests. Thanks, Jiang Yan Xu

Re: Review Request 60791: Add fetcher cache space usage metrics.

2017-07-18 Thread Jiang Yan Xu
r/60791/#comment256172> Why await? src/slave/containerizer/fetcher_process.hpp Lines 147-148 (patched) <https://reviews.apache.org/r/60791/#comment256173> If these are used only for monitoring, should we just follow the convention mentioned

Re: Review Request 60936: Removed stale FetcherProcess::setSpace declaration.

2017-07-18 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60936/#review180873 --- Ship it! Ship It! - Jiang Yan Xu On July 17, 2017, 7:15 p.m

Re: Review Request 53479: Perform agent GC asynchronously.

2017-07-18 Thread Jiang Yan Xu
an the fact that some callback has been called. - Jiang Yan Xu On July 18, 2017, 3:15 p.m., Jacob Janco wrote: > > --- > This is an automatically generated e-mail. To reply,

Re: Review Request 60821: Introduced a "no sender" UPID.

2017-07-18 Thread Jiang Yan Xu
` > > UPID and force them to explicitly pass the anonymous UPID. This makes the > > used of anonymous message sends explicit which I think is preferable to > > this implicit approach. > > Jiang Yan Xu wrote: > Here's my thinking: > > - In li

Re: Review Request 60898: Added more tests for agent reregistration.

2017-07-19 Thread Jiang Yan Xu
ove): ``` // There should be no registrar operation across both agent termination // and reregistration. EXPECT_CALL(*master.get()->registrar.get(), apply(_)) .Times(0); ``` - Jiang Yan --- This is an automatically generated e-m

Re: Review Request 60898: Added more tests for agent reregistration.

2017-07-19 Thread Jiang Yan Xu
Jiang Yan --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60898/#review180894 ----------- On July 16, 2017, 11:29 a.m., Jiang Yan Xu w

Re: Review Request 60898: Added more tests for agent reregistration.

2017-07-19 Thread Jiang Yan Xu
has been marked unreachable. Diffs (updated) - src/tests/slave_tests.cpp e1cc96dbb279aea998b99779ee1b55e96fee4e41 Diff: https://reviews.apache.org/r/60898/diff/3/ Changes: https://reviews.apache.org/r/60898/diff/2-3/ Testing --- make check. Thanks, Jiang Yan Xu

Re: Review Request 60956: Refactored fetcher cache metrics.

2017-07-20 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60956/#review181019 --- Ship it! Ship It! - Jiang Yan Xu On July 18, 2017, 8:04 p.m

Re: Review Request 60791: Add fetcher cache space usage metrics.

2017-07-20 Thread Jiang Yan Xu
> On July 18, 2017, 2:16 p.m., Jiang Yan Xu wrote: > > src/slave/containerizer/fetcher.cpp > > Lines 272-275 (patched) > > <https://reviews.apache.org/r/60791/diff/3/?file=1778079#file1778079line272> > > > > Aside from styling/convention, would thi

Review Request 61018: Minor fix to use the more idiomatic `send` method.

2017-07-20 Thread Jiang Yan Xu
--- Minor fix to use the more idiomatic `send` method. Diffs - src/log/network.hpp 635079fd7e42f3da3a595208c15f288d768424f7 Diff: https://reviews.apache.org/r/61018/diff/1/ Testing --- make check Thanks, Jiang Yan Xu

Review Request 61089: Logged each container state transition.

2017-07-24 Thread Jiang Yan Xu
mesos/containerizer.cpp 9376d14d66f5dc7e91c7c0e9da253f5eb9347539 Diff: https://reviews.apache.org/r/61089/diff/1/ Testing --- make check Thanks, Jiang Yan Xu

Review Request 61090: Store container reference in a variable if it will be used repeatedly.

2017-07-24 Thread Jiang Yan Xu
Yan Xu

Re: Review Request 60791: Add fetcher cache space usage metrics.

2017-07-25 Thread Jiang Yan Xu
> On July 18, 2017, 2:16 p.m., Jiang Yan Xu wrote: > > src/slave/containerizer/fetcher.cpp > > Lines 272-275 (patched) > > <https://reviews.apache.org/r/60791/diff/3/?file=1778079#file1778079line272> > > > > Aside from styling/convention, would thi

Re: Review Request 60791: Add fetcher cache space usage metrics.

2017-07-25 Thread Jiang Yan Xu
after this patch lands. - Jiang Yan Xu On July 18, 2017, 8:05 p.m., James Peach wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 61089: Logged each container state transition.

2017-07-26 Thread Jiang Yan Xu
rg/r/61089/#review181472 ------- On July 24, 2017, 2:48 p.m., Jiang Yan Xu wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 61089: Logged each container state transition.

2017-07-26 Thread Jiang Yan Xu
r.hpp ea0691945d3450fcc336df03d9cf7b48afbd8b3d src/slave/containerizer/mesos/containerizer.cpp 9376d14d66f5dc7e91c7c0e9da253f5eb9347539 Diff: https://reviews.apache.org/r/61089/diff/2/ Changes: https://reviews.apache.org/r/61089/diff/1-2/ Testing --- make check Thanks, Jiang Yan Xu

Review Request 61193: Convert resource format for completed frameworks.

2017-07-27 Thread Jiang Yan Xu
/master.cpp e12c997dad04f8a4ddb47a993a84b2b05c9e2f32 Diff: https://reviews.apache.org/r/61193/diff/1/ Testing --- make check and tested in a testing cluster. Thanks, Jiang Yan Xu

Re: Review Request 61220: Added MESOS-5116 to the CHANGELOG.

2017-07-28 Thread Jiang Yan Xu
t the flag can now be used more widely? CHANGELOG Lines 17 (patched) <https://reviews.apache.org/r/61220/#comment257373> The flag is `--no-enforce_container_disk_quota`. - Jiang Yan Xu On July 28, 2017, 9:01 a.m., James

Re: Review Request 61260: Added agent garbage collection metrics.

2017-07-31 Thread Jiang Yan Xu
a strong case for an abstraction, provide it as a more general helper (possibly put it where `JSON::Object Metrics()` is defined). - Jiang Yan Xu On July 31, 2017, 9:31 a.m., James Peach wrote: > > --- > This is an autom

Re: Review Request 61220: Added MESOS-5116 to the CHANGELOG.

2017-07-31 Thread Jiang Yan Xu
) <https://reviews.apache.org/r/61220/#comment257638> Remove the `#`. This is why we also need "Testing Done" for doc changes. :) Normally we just say "Tested with a markdown viewer". - Jiang Yan Xu On July 31, 2017, 2:

Re: Review Request 61368: Minor clean up: Pulled out the reference to `TaskInfo`.

2017-08-01 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61368/#review181929 --- Ship it! Ship It! - Jiang Yan Xu On Aug. 1, 2017, 5:59 p.m

Re: Review Request 61367: Downgraded the `task.executor.resources` in `TASK_GROUP`.

2017-08-01 Thread Jiang Yan Xu
(patched) <https://reviews.apache.org/r/61367/#comment257754> 4 spaces? - Jiang Yan Xu On Aug. 1, 2017, 5:59 p.m., Michael Park wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://re

Re: Review Request 61368: Minor clean up: Pulled out the reference to `TaskInfo`.

2017-08-01 Thread Jiang Yan Xu
(original), 4809-4811 (patched) <https://reviews.apache.org/r/61368/#comment257755> 4 space indentation? - Jiang Yan Xu On Aug. 1, 2017, 5:59 p.m., Michael Park wrote: > > --- > This is an automatically generated e

Re: Review Request 61473: Do not kill non partition aware tasks.

2017-08-10 Thread Jiang Yan Xu
aster.cpp Lines 7132-7137 (patched) <https://reviews.apache.org/r/61473/#comment258590> Do this only when we actually send an update i.e., `framework->connected()`? src/master/master.cpp Lines 8928-8931 (original), 8907-8910 (patched) <https://reviews.apache.org/r/61473/#comment

Re: Review Request 61220: Added MESOS-5116 to the CHANGELOG.

2017-08-21 Thread Jiang Yan Xu
doesn't apply cleanly anymore due to the delay... CHANGELOG Lines 29-31 (patched) <https://reviews.apache.org/r/61220/#comment259384> The list of features are orderer by their JIRA number. Reorder it? - Jiang Yan Xu On Aug. 16, 2017, 3:37 p.m., James

Re: Review Request 61620: Tracked successful task fetches rather than total.

2017-08-21 Thread Jiang Yan Xu
(patched) <https://reviews.apache.org/r/61620/#comment259390> `onAny` takes a `void(const Future&)` callback so this looks odd, even thought it probably compiles due to the defer wrapper. Since this has a `then` continuation below, can we just put it there? - Jiang Yan Xu

Re: Review Request 61620: Tracked successful task fetches rather than total.

2017-08-21 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61620/#review183374 --- Ship it! Ship It! - Jiang Yan Xu On Aug. 21, 2017, 12:10

Re: Review Request 61260: Added agent garbage collection metrics.

2017-08-21 Thread Jiang Yan Xu
s added here? - Jiang Yan Xu On Aug. 10, 2017, 3 p.m., James Peach wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/61260/ > --

Re: Review Request 61261: Documented agent garbage collection metrics.

2017-08-21 Thread Jiang Yan Xu
> > (Updated July 31, 2017, 9:31 a.m.) > > > Review request for mesos and Jiang Yan Xu. > > > Bugs: MESOS-7842 > https://issues.apache.org/jira/browse/MESOS-7842 > > > Repository: mesos > > > Description > --- > &g

Re: Review Request 61124: Push metric history entries with their timestamp.

2017-08-21 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61124/#review183412 --- Ship it! Ship It! - Jiang Yan Xu On July 25, 2017, 4:26 p.m

Re: Review Request 61260: Added agent garbage collection metrics.

2017-08-22 Thread Jiang Yan Xu
are metrics from the `Slave` actor which is not true. - Jiang Yan Xu On Aug. 22, 2017, 8:51 a.m., James Peach wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://rev

Re: Review Request 61261: Documented agent garbage collection metrics.

2017-08-22 Thread Jiang Yan Xu
) <https://reviews.apache.org/r/61261/#comment259512> Will have to adjust the docs according to the suggested names in r/61260/ Here and below. - Jiang Yan Xu On Aug. 22, 2017, 8:53 a.m., James Peach wrote: > > -

Re: Review Request 61260: Added agent garbage collection metrics.

2017-08-22 Thread Jiang Yan Xu
> On Aug. 22, 2017, 11 a.m., Jiang Yan Xu wrote: > > src/slave/gc.cpp > > Lines 53 (patched) > > <https://reviews.apache.org/r/61260/diff/3/?file=1801592#file1801592line53> > > > > Actually, it didn't occur to me earlier but a

Re: Review Request 61261: Documented agent garbage collection metrics.

2017-08-22 Thread Jiang Yan Xu
) <https://reviews.apache.org/r/61261/#comment259552> Fix ordering? - Jiang Yan Xu On Aug. 22, 2017, 3:31 p.m., James Peach wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://re

Re: Review Request 61892: Propagate the error from os::rmdir.

2017-08-24 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61892/#review183800 --- Ship it! Ship It! - Jiang Yan Xu On Aug. 24, 2017, 12:34

Re: Review Request 61893: Fix garbage collection metrics test failures.

2017-08-24 Thread Jiang Yan Xu
(original), 1007 (patched) <https://reviews.apache.org/r/61893/#comment259847> Clean up the comment a bit: "*that* the path removal *that* failed" doesn't sound right? - Jiang Yan Xu On Aug. 24, 2017, 12:34 p.

Re: Review Request 61880: Fixed agent downgrades for reservation refinement.

2017-08-24 Thread Jiang Yan Xu
as clean as it could be. Of course I understand we'll refactor this later anyway. - Jiang Yan Xu On Aug. 24, 2017, 1:07 a.m., Michael Park wrote: > > --- > This is an automatically generated e-mail. To reply, visit: >

Re: Review Request 61661: Added 'latest' symlink removal.

2017-08-28 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61661/#review183975 --- Ship it! Ship It! - Jiang Yan Xu On Aug. 15, 2017, 7:48 a.m

Re: Review Request 61662: Added SlaveRecoveryTest.RebootWithSlaveInfoMismatchAndRestart test.

2017-08-28 Thread Jiang Yan Xu
t restart before reregistration completes. ``` - Jiang Yan Xu On Aug. 15, 2017, 7:48 a.m., Ilya Pronin wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https:

Re: Review Request 61473: Do not kill non partition aware tasks.

2017-08-29 Thread Jiang Yan Xu
s.apache.org/r/61473/#comment260159> This comment is probably unncessary because "partition aware + non-partition aware" pretty much means "we don't care" so why comment about it :) src/master/master.cpp Lines 8948-8950 (patched) <https://reviews.apache.org/r/61473/#c

Re: Review Request 61690: Added `--zk_session_timeout` flag for agent.

2017-08-29 Thread Jiang Yan Xu
tps://reviews.apache.org/r/61690/#comment260192> I can add a TODO here... // TODO: Share the default ZK session timeout across master and agent. - Jiang Yan Xu On Aug. 25, 2017, 10:05 a.m., Ilya Pronin wrote: > > ---

Re: Review Request 61965: Moved `--zk_session_timeout` flag docs to the common flags section.

2017-08-29 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61965/#review184127 --- Ship it! Ship It! - Jiang Yan Xu On Aug. 29, 2017, 5:51 a.m

Re: Review Request 61689: Removed duplicate using directive.

2017-08-29 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61689/#review184131 --- Ship it! Ship It! - Jiang Yan Xu On Aug. 25, 2017, 10:05

Re: Review Request 60960: Added an enum to track Metric semantics.

2017-09-01 Thread Jiang Yan Xu
s we really just have a few of these types). - Jiang Yan Xu On July 19, 2017, 2:02 a.m., James Peach wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://rev

Re: Review Request 61126: Converted Timer value to counting semantics.

2017-09-01 Thread Jiang Yan Xu
be Prometheus' rationale as well) need a sum? What useful thing can we do about it? This is related to the abstract concept of "counting semantics" that we need to document in a design. We need a whiteboard discussion offline but perhaps we should write it down for other reviewer

Re: Review Request 61125: Track the total number of time series samples.

2017-09-01 Thread Jiang Yan Xu
-- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/61125/ > ----------- > > (Updated July 25, 2017, 4:57 p.m.) > > > Review request for mesos, Benjamin

Re: Review Request 62230: Avoid GC pruning events from blocking other processes.

2017-09-11 Thread Jiang Yan Xu
patch precisely to avoid dispatching onto the gc actor itself because the rmdirs could block new task launches. - Jiang Yan Xu On Sept. 11, 2017, 2:39 p.m., Chun-Hung Hsiao wrote: > > --- > This is an automatically generated e-mail.

Re: Review Request 62230: Avoid GC pruning events from blocking other processes.

2017-09-26 Thread Jiang Yan Xu
generic? e.g., ``` // For executing path removals in a separate thread. ``` - Jiang Yan Xu On Sept. 12, 2017, 1:52 p.m., Chun-Hung Hsiao wrote: > > --- > This is an automatically generated

Re: Review Request 62230: Avoid GC pruning events from blocking other processes.

2017-09-26 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62230/#review186341 --- Ship it! Ship It! - Jiang Yan Xu On Sept. 26, 2017, 3:04

Re: Review Request 61473: Do not kill non partition aware tasks.

2017-09-29 Thread Jiang Yan Xu
t263403> This is going to send `TASK_UNREACHABLE` to the operator API subscribers even for NPA framework tasks. We should probably be consistent and send `TASK_LOST`. - Jiang Yan Xu On Sept. 24, 2017, 3:46 p.m., Megha Sharma wrote: > > ---

Re: Review Request 61473: Do not kill non partition aware tasks.

2017-09-29 Thread Jiang Yan Xu
comments? src/tests/partition_tests.cpp Lines 2045 (patched) <https://reviews.apache.org/r/61473/#comment263581> Perhaps add a comment: `// The agent may resend status updates.` - Jiang Yan Xu On Sept. 24, 2017, 3:46 p.m., Megha Sharma wrote: > > ---

Review Request 62944: Fixed flaky test SharedPersistentVolumeRescindOnDestroy.

2017-10-12 Thread Jiang Yan Xu
--- Ran this test for 100 iterations. Thanks, Jiang Yan Xu

Re: Review Request 62944: Fixed flaky test SharedPersistentVolumeRescindOnDestroy.

2017-10-12 Thread Jiang Yan Xu
iew187830 --- On Oct. 12, 2017, 11:34 a.m., Jiang Yan Xu wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://revie

Review Request 63174: Added a benchmark for agent reregistration during master failover.

2017-10-19 Thread Jiang Yan Xu
Count/MasterFailover_BENCHMARK_Test.AgentReregistrationDelay/2 (109941 ms) [--] 3 tests from AgentFrameworkTaskCount/MasterFailover_BENCHMARK_Test (258497 ms total) ``` The recently patches cut down the time by nearly 50%. These were built with `--enable-optimize`. I can also get some flame graphs. Thanks, Jiang Yan Xu

Review Request 63175: Do not generate UnavailableResources for inactive frameworks.

2017-10-19 Thread Jiang Yan Xu
5b6efe5faa3c3b10f1f714f582a155b368f8ccaf Diff: https://reviews.apache.org/r/63175/diff/1/ Testing --- make check. I didn' write a new test as the externally observable behavior doesn't change. Thanks, Jiang Yan Xu

Re: Review Request 63174: Added a benchmark for agent reregistration during master failover.

2017-10-20 Thread Jiang Yan Xu
tomatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63174/#review188799 ----------- On Oct. 19, 2017, 4:28 p.m., Jiang Yan Xu wrote: > > -

Re: Review Request 63174: Added a benchmark for agent reregistration during master failover.

2017-10-24 Thread Jiang Yan Xu
tests from AgentFrameworkTaskCount/MasterFailover_BENCHMARK_Test (184421 ms total) ``` The recently patches cut down the time by over 50%. These were built with `--enable-optimize --enable-lock-free-run-queue --enable-lock-free-event-queue --enable-last-in-first-out-fixed-size-semaphore`. Thanks, Jiang Yan Xu

Re: Review Request 63174: Added a benchmark for agent reregistration during master failover.

2017-10-24 Thread Jiang Yan Xu
force the messages to go through the remote stack rather than the local > > stack. No need to think about this yet, but just something to keep in mind > > as not being accurate in this benchmark. > > Jiang Yan Xu wrote: > 1) Yeah looks like it. I used to include th

Re: Review Request 61473: Do not kill non partition aware tasks.

2017-10-26 Thread Jiang Yan Xu
`. For now let's follow the implementation in `Master::_tasks_killing()`: check the state of each task. src/tests/partition_tests.cpp Lines 2044-2045 (patched) <https://reviews.apache.org/r/61473/#comment266298> A comment shouldn't split the chain. I think ```

Re: Review Request 63332: Logged the resources in DRF sorter CHECK.

2017-10-26 Thread Jiang Yan Xu
It doesn't strictly belong to this review but since you are editing these lines we might as well. - Jiang Yan Xu On Oct. 26, 2017, 9:42 a.m., Zhitao Li wrote: > > --- > This is an automatically generated e-mail

Re: Review Request 63332: Logged the resources in DRF sorter CHECK.

2017-10-26 Thread Jiang Yan Xu
/sorter.hpp Lines 350 (patched) <https://reviews.apache.org/r/63332/#comment266336> Nit: For consistency, I don't think we quote agent IDs (there are no spaces in agent IDs). Here and below? - Jiang Yan Xu On Oct. 26, 2017, 11:12 a.m., Zhit

Re: Review Request 63332: Logged the resources in DRF sorter CHECK.

2017-10-26 Thread Jiang Yan Xu
) <https://reviews.apache.org/r/63332/#comment266340> Typo: s/toRemove/oldAllocation/ Could you make sure it compiles and fill out the "Testing Done" section? - Jiang Yan Xu On Oct. 26, 2017, 11:26 a.m.,

Re: Review Request 63332: Logged the resources in DRF sorter CHECK.

2017-10-26 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63332/#review189328 --- Ship it! Ship It! - Jiang Yan Xu On Oct. 26, 2017, 12:01

Re: Review Request 63420: Moved Linux namespace helpers into a source file.

2017-10-30 Thread Jiang Yan Xu
s in cpp files. Here and elsewhere in the file. - Jiang Yan Xu On Oct. 30, 2017, 10:27 a.m., James Peach wrote: > > --- > This is an automatically generated e-mail. To reply,

Re: Review Request 63447: Fixed bulleted list formatting.

2017-10-31 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63447/#review189739 --- Ship it! Ship It! - Jiang Yan Xu On Oct. 31, 2017, 10:48

Re: Review Request 63174: Added a benchmark for agent reregistration during master failover.

2017-11-01 Thread Jiang Yan Xu
ter proto 3.4. - Jiang Yan --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63174/#review189093 --- On Nov. 1, 2017, 3:06 p.m., Jiang Yan

Re: Review Request 63174: Added a benchmark for agent reregistration during master failover.

2017-11-01 Thread Jiang Yan Xu
ently patches cut down the time by over 50%. These were built with `--enable-optimize --enable-lock-free-run-queue --enable-lock-free-event-queue --enable-last-in-first-out-fixed-size-semaphore`. Thanks, Jiang Yan Xu

Re: Review Request 63174: Added a benchmark for agent reregistration during master failover.

2017-11-03 Thread Jiang Yan Xu
e-run-queue --enable-lock-free-event-queue --enable-last-in-first-out-fixed-size-semaphore`. Thanks, Jiang Yan Xu

Re: Review Request 63594: Improved the fetcher exit status log message.

2017-11-06 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63594/#review190220 --- Ship it! Ship It! - Jiang Yan Xu On Nov. 6, 2017, 12:36 p.m

Re: Review Request 63642: Added a test for ExecutorID validation in ReregisterSlaveMessage.

2017-11-07 Thread Jiang Yan Xu
Lines 4240-4241 (patched) <https://reviews.apache.org/r/63642/#comment267733> I was suggesting `ASSERT_*` as strictly speaking the test code prepared these, not the code to be tested so it should always succeed otherwise we should abort the test. Here and below. - Jiang Yan X

Re: Review Request 63642: Added a test for ExecutorID validation in ReregisterSlaveMessage.

2017-11-07 Thread Jiang Yan Xu
rc/tests/master_validation_tests.cpp Lines 4243 (patched) <https://reviews.apache.org/r/63642/#comment267727> These are `EXPECT_*`? Same below. - Jiang Yan Xu On Nov. 7, 2017, 10:47 a.m., James Peach wrote: > > -

Review Request 63741: Fixed framework subscription with suppressed roles.

2017-11-15 Thread Jiang Yan Xu
with /r/63830/. Thanks, Jiang Yan Xu

Review Request 63830: Fixed 'NoOffersWithAllRolesSuppressed' test.

2017-11-15 Thread Jiang Yan Xu
01-00 00-00 04-00 00-00 A0-54 00-8C 7D-7F 00-00>) Expected: to be never called Actual: called once - over-saturated and active ``` The test passes with /r/63741/. Thanks, Jiang Yan Xu

Review Request 63831: Fixed a bug that removed the suppressed framework from sorter.

2017-11-15 Thread Jiang Yan Xu
Diff: https://reviews.apache.org/r/63831/diff/1/ Testing --- make check. Added a test. Thanks, Jiang Yan Xu

Review Request 63895: Fixed flaky test UnreachableAgentReregisterAfterFailover test.

2017-11-16 Thread Jiang Yan Xu
://reviews.apache.org/r/63895/diff/1/ Testing --- make check. I couldn't repro the failure locally but I think the fix makes sense logically so it probably is the fix. ;) Thanks, Jiang Yan Xu

Review Request 63900: Downgraded the logging level of socket shutdown failures.

2017-11-16 Thread Jiang Yan Xu
--- make check. Thanks, Jiang Yan Xu

Re: Review Request 63175: Do not generate UnavailableResources for inactive frameworks.

2017-11-17 Thread Jiang Yan Xu
This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63175/#review190412 --- On Nov. 7, 2017, 5:02 p.m., Jiang Yan Xu wrote: > > ---

Re: Review Request 63175: Do not generate UnavailableResources for inactive frameworks.

2017-11-17 Thread Jiang Yan Xu
was equivalent to deactivation (note that activation has > > become a per-role thing). > > > > Mostly `connected` == `active`. But I think the point of this boolean > > is to track whether we can talk to the framework? Thoughts? > > Jiang Yan Xu wrote: >

Re: Review Request 63830: Fixed 'NoOffersWithAllRolesSuppressed' test.

2017-11-21 Thread Jiang Yan Xu
Thanks, Jiang Yan Xu

Re: Review Request 63830: Fixed 'NoOffersWithAllRolesSuppressed' test.

2017-11-27 Thread Jiang Yan Xu
https://reviews.apache.org/r/63830/#review191602 ----------- On Nov. 21, 2017, 9:46 a.m., Jiang Yan Xu wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/63830/ > -

Re: Review Request 63741: Fixed a bug in devolving framework subscription with suppressed roles.

2017-11-27 Thread Jiang Yan Xu
reply, visit: https://reviews.apache.org/r/63741/#review191605 ------- On Nov. 15, 2017, 10:41 a.m., Jiang Yan Xu wrote: > > --- > This is an automatically generated e-mail. T

<    4   5   6   7   8   9   10   11   >