Re: Review Request 40429: Report executor exit to framework schedulers.

2015-11-18 Thread Zhitao Li
: https://reviews.apache.org/r/40429/diff/ Testing --- Modified test for SchedulerDriverEventTest.Failure, which verifies that MockScheduler::executorLost is invoked. Thanks, Zhitao Li

Re: Review Request 40429: Report executor exit to framework schedulers.

2015-12-14 Thread Zhitao Li
--- Modified test for SchedulerDriverEventTest.Failure, which verifies that MockScheduler::executorLost is invoked. Thanks, Zhitao Li

Re: Review Request 40429: Report executor exit to framework schedulers.

2015-12-14 Thread Zhitao Li
me to send that out too. - Zhitao --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/40429/#review109593 --- On Dec. 14, 2015, 8:09 p

Review Request 41892: DockerContinerizer infers hostPath for persistent volumes.

2016-01-04 Thread Zhitao Li
f4b0f82449c4b6a2b4b7b7f14518714485d5a13a Diff: https://reviews.apache.org/r/41892/diff/ Testing --- New unit test. Thanks, Zhitao Li

Re: Review Request 40429: Report executor exit to framework schedulers.

2016-01-04 Thread Zhitao Li
--- Modified test for SchedulerDriverEventTest.Failure, which verifies that MockScheduler::executorLost is invoked. Thanks, Zhitao Li

Re: Review Request 40429: Report executor exit to framework schedulers.

2016-01-04 Thread Zhitao Li
nod, I just sent out the email. - Zhitao --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/40429/#review112541 ------- O

Re: Review Request 40429: Report executor exit to framework schedulers.

2016-01-05 Thread Zhitao Li
77750eda99184c0bf4404df8468461e3c7f8cde0 Diff: https://reviews.apache.org/r/40429/diff/ Testing --- Modified test for SchedulerDriverEventTest.Failure, which verifies that MockScheduler::executorLost is invoked. Thanks, Zhitao Li

Re: Review Request 40429: Report executor exit to framework schedulers.

2015-12-24 Thread Zhitao Li
03f0332ef75bbe7c4947bd6daf55d40384570f18 src/tests/slave_tests.cpp 90d56b987c60b99d9ca3e4ffef9cb71815bfc9b7 Diff: https://reviews.apache.org/r/40429/diff/ Testing --- Modified test for SchedulerDriverEventTest.Failure, which verifies that MockScheduler::executorLost is invoked. Thanks, Zhitao Li

Re: Review Request 40429: Report executor exit to framework schedulers.

2015-12-24 Thread Zhitao Li
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/40429/#review111871 --- - Zhitao Li On Dec. 24, 2015, 8:29 p.m., Zhitao Li wrote

Re: Review Request 40429: Report executor exit to framework schedulers.

2015-12-24 Thread Zhitao Li
-------- On Dec. 24, 2015, 8:29 p.m., Zhitao Li wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/40429/ > --

Re: Review Request 40429: Report executor exit to framework schedulers.

2015-12-24 Thread Zhitao Li
an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/40429/#review110348 --- On Dec. 24, 2015, 8:29 p.m., Zhitao Li wrote: > > --- >

Re: Review Request 40429: Report executor exit to framework schedulers.

2015-11-18 Thread Zhitao Li
ostSlave()` - Zhitao --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/40429/#review107122 --- On Nov. 18, 2015

Re: Review Request 40429: Report executor exit to framework schedulers.

2015-11-18 Thread Zhitao Li
: https://reviews.apache.org/r/40429/diff/ Testing --- Modified test for SchedulerDriverEventTest.Failure, which verifies that MockScheduler::executorLost is invoked. Thanks, Zhitao Li

Review Request 40429: Report executor exit to framework schedulers.

2015-11-17 Thread Zhitao Li
for SchedulerDriverEventTest.Failure, which verifies that MockScheduler::executorLost is invoked. Thanks, Zhitao Li

Re: Review Request 48751: Implement GetState response for master API.

2016-06-22 Thread Zhitao Li
7daaf12a4086635bbc5aba5e3375c95e8899ac6e src/master/master.hpp fe57878dc59637459d5c5cdae0be2aa159133fa4 src/tests/api_tests.cpp bf1a294f1fc3c8659c31115beee3876d4d0a45e2 Diff: https://reviews.apache.org/r/48751/diff/ Testing --- New test in MasterAPITest. Thanks, Zhitao Li

Re: Review Request 48751: Implement GetState response for master API.

2016-06-22 Thread Zhitao Li
7daaf12a4086635bbc5aba5e3375c95e8899ac6e src/master/master.hpp fe57878dc59637459d5c5cdae0be2aa159133fa4 src/tests/api_tests.cpp bf1a294f1fc3c8659c31115beee3876d4d0a45e2 Diff: https://reviews.apache.org/r/48751/diff/ Testing --- New test in MasterAPITest. Thanks, Zhitao Li

Re: Review Request 48902: Move v1/master/allocator.proto to its own package.

2016-06-22 Thread Zhitao Li
.apache.org/r/48902/#review138709 --- On June 22, 2016, 6:19 p.m., Zhitao Li wrote: > > --- > This is an automatically generated e-mail. To reply, v

Re: Review Request 48751: Implement GetState response for master API.

2016-06-22 Thread Zhitao Li
tps://reviews.apache.org/r/48751/#comment204229> Agreed. I think changing `required` mentioned in this patch to `optional` is good since the API here is still progressing. @vinodkone, what's your opinion? - Zhitao Li On June 22, 2016, 6:13 a.m., Zhitao Li

Re: Review Request 48751: Implement GetState response for master API.

2016-06-22 Thread Zhitao Li
- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/48751/#review139019 ------- On June 22, 2016, 6:13 a.m., Zhitao Li wrote: > > ---

Re: Review Request 48751: Implement GetState response for master API.

2016-06-21 Thread Zhitao Li
in MasterAPITest. Thanks, Zhitao Li

Re: Review Request 48751: Implement GetState response for master API.

2016-06-21 Thread Zhitao Li
unds good for top level in this file. Will do. - Zhitao --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/48751/#review138723 ---------

Re: Review Request 48879: Added logic for subscribing to task added/updated events.

2016-06-17 Thread Zhitao Li
g/r/48879/#comment203482> How will the `devolve()` handle the enum value that's not declared in its own enum? This switch/case block is strange anyway in that enum values could belong to different namespaces... - Zhitao Li On June 17, 2016, 8:16 p.m., Anand Mazumdar

Re: Review Request 48873: Added `Task` to `v1/mesos.proto`.

2016-06-17 Thread Zhitao Li
in src/internal/evolve.hpp, since it's pretty common that we need to promote `Task` to `v1::Task`. - Zhitao Li On June 17, 2016, 8:17 p.m., Anand Mazumdar wrote: > > --- > This is an automatically generated e-mail. To rep

Review Request 48902: Move v1/master/allocator.proto to its own package.

2016-06-18 Thread Zhitao Li
://reviews.apache.org/r/48902/diff/ Testing (updated) --- run `make` on Mac. Thanks, Zhitao Li

Review Request 49118: Move allocator header and proto to own package.

2016-06-22 Thread Zhitao Li
/rate_limiting_tests.cpp 5d68ac170cb5a948df1429ffbf8e5b8f02f708d9 src/tests/reservation_tests.cpp 2cc352d230f5ba8ca15698b09a44377c6af53913 Diff: https://reviews.apache.org/r/49118/diff/ Testing --- `make && make check` on mac. Thanks, Zhitao Li

Re: Review Request 49129: Allow requesting initial state upon subscribe.

2016-06-22 Thread Zhitao Li
/master.proto 11dfab318eb073908a9e302afa33b274fec63a16 src/master/http.cpp 7daaf12a4086635bbc5aba5e3375c95e8899ac6e src/tests/api_tests.cpp bf1a294f1fc3c8659c31115beee3876d4d0a45e2 Diff: https://reviews.apache.org/r/49129/diff/ Testing --- make check Thanks, Zhitao Li

Review Request 49130: Helper function for approver creation in master::http.

2016-06-22 Thread Zhitao Li
Diff: https://reviews.apache.org/r/49130/diff/ Testing --- make check Thanks, Zhitao Li

Re: Review Request 48751: Implement GetState response for master API.

2016-06-22 Thread Zhitao Li
overs; > ... > return collect(approvers); > } > ``` Created https://reviews.apache.org/r/49130 to fix in separate patch. - Zhitao --- This is an automatically generated e-mail. To reply, visit: https://reviews.ap

Re: Review Request 48879: Added logic for subscribing to task added/updated events.

2016-06-20 Thread Zhitao Li
-- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/48879/ > --- > > (Updated June 17, 2016, 8:52 p.m.) > > > Review requ

Re: Review Request 48928: Added info about external `libelf` dependence to `upgrades.md`.

2016-06-20 Thread Zhitao Li
> This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/48928/ > --- > > (Updated June 19, 2016, 7:30 p.m.) > > > Review request for meso

Re: Review Request 48875: Fixed a couple of minor style typos.

2016-06-20 Thread Zhitao Li
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/48875/#review138602 --- Ship it! Ship It! - Zhitao Li On June 17, 2016, 8:17 p.m

Re: Review Request 48902: Move v1/master/allocator.proto to its own package.

2016-06-20 Thread Zhitao Li
---- On June 18, 2016, 6:36 a.m., Zhitao Li wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/48902/ > --- &g

Re: Review Request 48902: Move v1/master/allocator.proto to its own package.

2016-06-20 Thread Zhitao Li
gt; allocator is the master-only component. > > Zhitao Li wrote: > Alexander, so what's your recommendation here? Given that there is only > one public visible message `InverseOfferStatus` in this protobuf at the > moment, I'd like to have a quick fix to make sure its namespa

Review Request 48751: Implement GetState response for master API.

2016-06-15 Thread Zhitao Li
://reviews.apache.org/r/48751/diff/ Testing --- New test in MasterAPITest. Thanks, Zhitao Li

Re: Review Request 48751: Implement GetState response for master API.

2016-06-15 Thread Zhitao Li
cpp db625f0d656f207a89fcc14b18ae2fc31d30e673 src/master/master.hpp a0944ddccd3a4b33458cd2489bb5fcdbbdc55720 src/tests/api_tests.cpp 3a482ca2a640b3f3e3b08a80ac84068d7e9ff8b0 Diff: https://reviews.apache.org/r/48751/diff/ Testing --- New test in MasterAPITest. Thanks, Zhitao Li

Re: Review Request 48751: Implement GetState response for master API.

2016-06-23 Thread Zhitao Li
about what to do with agents. What do you think? - Zhitao Li On June 22, 2016, 5 p.m., Zhitao Li wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > http

Re: Review Request 49136: Add Framework protobuf message.

2016-06-24 Thread Zhitao Li
tps://reviews.apache.org/r/49136/#comment204580> Given current conversations with Vinod and Anand, we still want to keep fileds that always have a value as `required`, and the leave the task of upgrading to proto3 in a separate sweeping epic. This also has the benefit of clear API. - Zhi

Re: Review Request 48841: Add Agent protobuf message.

2016-06-24 Thread Zhitao Li
three resources fiels split by use cases, - Zhitao Li On June 23, 2016, 5:13 a.m., zhou xing wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.

Re: Review Request 49118: Move allocator header and proto to own package.

2016-06-24 Thread Zhitao Li
://reviews.apache.org/r/49118/diff/ Testing --- `make && make check` on mac. Thanks, Zhitao Li

Re: Review Request 48902: Move v1/master/allocator.proto to its own package.

2016-06-24 Thread Zhitao Li
/r/48902/diff/ Testing --- run `make` on Mac. Thanks, Zhitao Li

Re: Review Request 48877: Added evolve logic for `master::Event` -> `v1::master::Event`.

2016-06-17 Thread Zhitao Li
tps://reviews.apache.org/r/48877/#comment203478> Move this line next to `v1::master::Response` so it's easy to find? - Zhitao Li On June 17, 2016, 8:17 p.m., Anand Mazumdar wrote: > > --- > This is an automatically generated e-mail.

Re: Review Request 48876: Added `TASK_ADDED`/`TASK_UPDATED` events to master.proto.

2016-06-17 Thread Zhitao Li
. - Zhitao Li On June 17, 2016, 8:17 p.m., Anand Mazumdar wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 49166: Fixed incorrect headers in nodist_v1quota_HEADERS.

2016-06-23 Thread Zhitao Li
g/r/49166/#comment204495> This shouldn't be here - Zhitao Li On June 23, 2016, 8:07 p.m., haosdent huang wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.

Re: Review Request 49118: Move allocator header and proto to own package.

2016-06-23 Thread Zhitao Li
: https://reviews.apache.org/r/49118/diff/ Testing --- `make && make check` on mac. Thanks, Zhitao Li

Re: Review Request 49155: Implement GET_STATE_SUMMARY Call in v1 master API.

2016-06-23 Thread Zhitao Li
u take a look at new messages defined at https://reviews.apache.org/r/48751/ and comment on what additions or changes we need for them? - Zhitao Li On June 23, 2016, 3:15 p.m., Jay Guo wrote: > > --- > This is an automatically g

Re: Review Request 41892: DockerContinerizer infers hostPath for persistent volumes.

2016-01-14 Thread Zhitao Li
dea for logging/clarity purpose. Please let me know if I didn't understand your suggestion, or if you think we should explore the other alternative (passing `hostPath` earlier in resource offer). - Zhitao Li On Jan. 4, 2016, 9:15 p.m.,

Re: Review Request 48841: Add Agent protobuf message.

2016-06-27 Thread Zhitao Li
> On June 27, 2016, 4:36 p.m., Zhitao Li wrote: > > include/mesos/v1/master/master.proto, line 287 > > <https://reviews.apache.org/r/48841/diff/5/?file=1430819#file1430819line287> > > > > Should we use `VersionInfo` for `version`? > > Vinod

Re: Review Request 49136: Add Framework protobuf message.

2016-06-27 Thread Zhitao Li
to unblock me for GetState. Thanks. include/mesos/v1/master/master.proto (line 296) <https://reviews.apache.org/r/49136/#comment204841> Should this be required? I guess that's the case for any custom executor type, but I'm not sure about CommandExecutor. - Zhitao Li On June 27, 2016

Re: Review Request 48841: Add Agent protobuf message.

2016-06-27 Thread Zhitao Li
tps://reviews.apache.org/r/48841/#comment204844> Should we use `VersionInfo` for `version`? - Zhitao Li On June 27, 2016, 9:01 a.m., zhou xing wrote: > > --- > This is an automatically generated e-mail. To reply,

Re: Review Request 41892: DockerContinerizer infers hostPath for persistent volumes.

2016-01-28 Thread Zhitao Li
> On Jan. 15, 2016, 12:03 a.m., Zhitao Li wrote: > > src/docker/docker.cpp, lines 410-420 > > <https://reviews.apache.org/r/41892/diff/1/?file=1181052#file1181052line410> > > > > (Sorry I just got time to come back to this). > > > > I d

Re: Review Request 41892: DockerContinerizer infers hostPath for persistent volumes.

2016-01-27 Thread Zhitao Li
> On Jan. 15, 2016, 12:03 a.m., Zhitao Li wrote: > > src/docker/docker.cpp, lines 410-420 > > <https://reviews.apache.org/r/41892/diff/1/?file=1181052#file1181052line410> > > > > (Sorry I just got time to come back to this). > > > > I d

Re: Review Request 41892: DockerContinerizer infers hostPath for persistent volumes.

2016-01-27 Thread Zhitao Li
g/r/41892/#comment177639> @jieyu, this would be a better place to implement the inferring of host paths for persistent volumes, comparing to the current draft. - Zhitao Li On Jan. 4, 2016, 9:15 p.m., Zhitao Li

Re: Review Request 44810: Documentation change for the update quota feature.

2016-03-18 Thread Zhitao Li
g/r/44810/#comment186269> Note that this part is unsettled. Will update once consensus is reached in design doc. - Zhitao Li On March 15, 2016, 3:12 p.m., Zhitao Li wrote: > > --- > This is an automatically generated e

Review Request 44810: Documentation change for the update quota feature.

2016-03-14 Thread Zhitao Li
implementations to follow once we reach consensus on the this plan. Diffs - docs/quota.md 12696bf805d43f997d80149e56281c5e7dc0557e Diff: https://reviews.apache.org/r/44810/diff/ Testing --- Thanks, Zhitao Li

Re: Review Request 45932: Add stripped TaskInfo's to ResourceUsage.Executor message.

2016-04-11 Thread Zhitao Li
://reviews.apache.org/r/45932/diff/ Testing --- Added new test to verify ResourceUsage sees task labels. Thanks, Zhitao Li

Re: Review Request 45572: Add labels to ExecutorInfo and deprecate source.

2016-04-11 Thread Zhitao Li
--- Added a test in oversubciption_tests to make sure executor labels are visible to ResourceEstimator and QoSController. Thanks, Zhitao Li

Re: Review Request 45932: Add stripped TaskInfo's to ResourceUsage.Executor message.

2016-04-11 Thread Zhitao Li
- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45932/#review127933 --- On April 12, 2016, 5 a.m., Zhitao Li wrote: > >

Re: Review Request 45932: Adds task information to container resource usage information.

2016-04-11 Thread Zhitao Li
/ Testing --- Added new test to verify ResourceUsage sees task labels. Thanks, Zhitao Li

Re: Review Request 45932: Adds task information to container resource usage information.

2016-04-11 Thread Zhitao Li
/oversubscription_tests.cpp 23671746da2ac505d75bc2bd59114697d9161d52 Diff: https://reviews.apache.org/r/45932/diff/ Testing --- Added new test to verify ResourceUsage sees task labels. Thanks, Zhitao Li

Re: Review Request 45941: Add check in agent for incorrect oversubscribed resource.

2016-04-09 Thread Zhitao Li
ng input as revocable > > // rather than rejecting and crashing here. > > ``` I'll move it. - Zhitao --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45941/#review127914 --- On April 8, 2016, 8:02 p

Re: Review Request 45941: Add check in agent for incorrect oversubscribed resource.

2016-04-09 Thread Zhitao Li
f090c853b8affc4be5eecb4f616ec881fc2b60c3 Diff: https://reviews.apache.org/r/45941/diff/ Testing --- Running existing test, and verify manually that offending resource crashes the agent. (Any suggestion to test `CHECK` is welcomed). Thanks, Zhitao Li

Review Request 45941: Add check in agent for incorrect oversubscribed resource.

2016-04-08 Thread Zhitao Li
f090c853b8affc4be5eecb4f616ec881fc2b60c3 Diff: https://reviews.apache.org/r/45941/diff/ Testing --- Running existing test, and verify manually that offending resource crashes the agent. (Any suggestion to test `CHECK` is welcomed). Thanks, Zhitao Li

Review Request 45932: Add stripped TaskInfo's to ResourceUsage.Executor message.

2016-04-08 Thread Zhitao Li
sees task labels. Thanks, Zhitao Li

Re: Review Request 45572: Add labels to ExecutorInfo and deprecate source.

2016-04-11 Thread Zhitao Li
, visit: https://reviews.apache.org/r/45572/#review127918 ------- On April 1, 2016, 1:42 a.m., Zhitao Li wrote: > > --- > This is an automatically gener

Review Request 45572: Add labels to ExecutorInfo and deprecate source.

2016-03-31 Thread Zhitao Li
to ResourceEstimator and QoSController. Thanks, Zhitao Li

Re: Review Request 45572: Add labels to ExecutorInfo and deprecate source.

2016-04-04 Thread Zhitao Li
rect and I'll happily drop this change. - Zhitao --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45572/#review126862 --- On Ap

Re: Review Request 47400: Documentation quota authorization changes in 0.29.

2016-05-18 Thread Zhitao Li
/47400/diff/ Testing --- Thanks, Zhitao Li

Re: Review Request 47400: Documentation quota authorization changes in 0.29.

2016-05-18 Thread Zhitao Li
e ones without. - Zhitao --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/47400/#review133865 --- On May 18, 2016, 4:53 p.m., Zhit

Re: Review Request 47222: Add authorization to /quota endpoint.

2016-05-12 Thread Zhitao Li
in MasterQuotaTest. Thanks, Zhitao Li

Review Request 47274: Authorize what quota can be seen by GET_QUOTA_BY_ROLE.

2016-05-11 Thread Zhitao Li
9ce7e2e481706c74f080d54b6f58d57874a27e64 Diff: https://reviews.apache.org/r/47274/diff/ Testing --- Unit test. Thanks, Zhitao Li

Re: Review Request 47274: Authorize what quota can be seen by GET_QUOTA_BY_ROLE.

2016-05-17 Thread Zhitao Li
testing using local authorizer. Thanks, Zhitao Li

Re: Review Request 47399: New update_quotas ACL for both set and remove cases.

2016-05-17 Thread Zhitao Li
Should be get_quotas. - Zhitao --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/47399/#review133537 --- On May 17,

Re: Review Request 47399: New update_quotas ACL for both set and remove cases.

2016-05-17 Thread Zhitao Li
://reviews.apache.org/r/47399/diff/ Testing --- Unit tests. Thanks, Zhitao Li

Re: Review Request 47399: New update_quotas ACL for both set and remove cases.

2016-05-17 Thread Zhitao Li
iff: https://reviews.apache.org/r/47399/diff/ Testing --- Unit tests. Thanks, Zhitao Li

Re: Review Request 47400: Documentation quota authorization changes in 0.29.

2016-05-17 Thread Zhitao Li
://reviews.apache.org/r/47400/diff/ Testing --- Thanks, Zhitao Li

Re: Review Request 47399: New update_quotas ACL for both set and remove cases.

2016-05-17 Thread Zhitao Li
To reply, visit: https://reviews.apache.org/r/47399/#review133615 --- On May 17, 2016, 6:26 p.m., Zhitao Li wrote: > > --- > This is an automatically generated e-mail. To rep

Re: Review Request 47399: New update_quotas ACL for both set and remove cases.

2016-05-17 Thread Zhitao Li
/diff/ Testing (updated) --- 1. Unit tests; 2. Manually tested cases: authorized and forbidden under both deprecated set_quotas/remove_quotas and new update_quotas, as well as the case that specifying both triggers master crash. Thanks, Zhitao Li

Re: Review Request 47274: Authorize what quota can be seen by GET_QUOTA_BY_ROLE.

2016-05-16 Thread Zhitao Li
/ Testing --- Unit test. Thanks, Zhitao Li

Re: Review Request 47274: Authorize what quota can be seen by GET_QUOTA_BY_ROLE.

2016-05-16 Thread Zhitao Li
tps://reviews.apache.org/r/47274/#comment197960> It'll be great if we can either catch this in linter/commit hook during `git commit`, or publish .vimrc/etc so contributors don't need to remember this. - Zhitao Li On May 17, 2016, 5:06 a.m., Zhitao Li

Re: Review Request 47274: Authorize what quota can be seen by GET_QUOTA_BY_ROLE.

2016-05-16 Thread Zhitao Li
--- On May 17, 2016, 5:06 a.m., Zhitao Li wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/47274/ >

Re: Review Request 47274: Authorize what quota can be seen by GET_QUOTA_BY_ROLE.

2016-05-13 Thread Zhitao Li
vector::const_iterator to loop in it. It should be no difference interface wise. - Zhitao Li On May 12, 2016, 12:48 a.m., Zhitao Li wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://re

Re: Review Request 47400: Documentation quota authorization changes in 0.29.

2016-05-18 Thread Zhitao Li
/diff/ Testing --- Thanks, Zhitao Li

Review Request 47222: Add authorization to /quota endpoint.

2016-05-11 Thread Zhitao Li
/quota_handler.cpp 6590519d8440f352f5bf00fda805414a5aad725c src/tests/master_quota_tests.cpp 9ce7e2e481706c74f080d54b6f58d57874a27e64 Diff: https://reviews.apache.org/r/47222/diff/ Testing --- Adding tests in MasterQuotaTest. Thanks, Zhitao Li

Re: Review Request 47222: Add authorization to /quota endpoint.

2016-05-11 Thread Zhitao Li
tps://reviews.apache.org/r/47222/#comment196868> Please advise if we should define "/quota" as a member const of `QuotaHandler` class. - Zhitao Li On May 11, 2016, 6:14 a.m., Zhitao Li wrote: > > --- > This is an automatically g

Re: Review Request 47274: Authorize what quota can be seen by GET_QUOTA_BY_ROLE.

2016-05-13 Thread Zhitao Li
3e55114ee7866e06513071e86e15608099dae052 src/master/quota_handler.cpp 6590519d8440f352f5bf00fda805414a5aad725c src/tests/master_quota_tests.cpp 9ce7e2e481706c74f080d54b6f58d57874a27e64 Diff: https://reviews.apache.org/r/47274/diff/ Testing --- Unit test. Thanks, Zhitao Li

Re: Review Request 47274: Authorize what quota can be seen by GET_QUOTA_BY_ROLE.

2016-05-13 Thread Zhitao Li
3e55114ee7866e06513071e86e15608099dae052 src/master/quota_handler.cpp 6590519d8440f352f5bf00fda805414a5aad725c src/tests/master_quota_tests.cpp 9ce7e2e481706c74f080d54b6f58d57874a27e64 Diff: https://reviews.apache.org/r/47274/diff/ Testing --- Unit test. Thanks, Zhitao Li

Review Request 47400: Documentation quota authorization changes in 0.29.

2016-05-15 Thread Zhitao Li
/quota.md 797e134605381ae576d9aa93875e0314889ab047 docs/upgrades.md 4f0c86db4c8d51f70487c03b2e75c1a4189b67b9 Diff: https://reviews.apache.org/r/47400/diff/ Testing --- Thanks, Zhitao Li

Review Request 47399: New update_quotas ACL for both set and remove cases.

2016-05-15 Thread Zhitao Li
6590519d8440f352f5bf00fda805414a5aad725c src/tests/authorization_tests.cpp f50ac69c32d0551a63391d97f31559ff4f414011 src/tests/master_quota_tests.cpp 9ce7e2e481706c74f080d54b6f58d57874a27e64 Diff: https://reviews.apache.org/r/47399/diff/ Testing --- Unit tests. Thanks, Zhitao Li

Re: Review Request 50277: Separate readonly and readwrite realms in libprocess.

2016-07-21 Thread Zhitao Li
, Zhitao Li

Re: Review Request 50223: Separate AuthN for readonly and readwrite endpoints in Mesos.

2016-07-21 Thread Zhitao Li
veTest` below. > > > > What do you think? As discussed in the workgroup, I'll only test one endpoint in each realm. - Zhitao --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.or

Re: Review Request 50223: Separate AuthN for readonly and readwrite endpoints in Mesos.

2016-07-21 Thread Zhitao Li
This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50223/#review143110 ------- On July 21, 2016, 4:33 a.m., Zhitao Li wrote: > >

Re: Review Request 50277: Separate readonly and readwrite realms in libprocess.

2016-07-21 Thread Zhitao Li
a03dbc4ab46747003d8b11d22f2dc136293264ec 3rdparty/libprocess/src/tests/metrics_tests.cpp d4d99de6d3bd9249e7b65e6be5841fbdb670a744 3rdparty/libprocess/src/tests/profiler_tests.cpp bf7a37536a7d15a03d1a88258f8cfb1f4b56bce8 Diff: https://reviews.apache.org/r/50277/diff/ Testing --- Thanks, Zhitao Li

Re: Review Request 50320: Refactor common HTTP authenticator initialize into helper function.

2016-07-22 Thread Zhitao Li
/r/50320/diff/ Testing --- `make check` Thanks, Zhitao Li

Re: Review Request 50223: Separate AuthN for readonly and readwrite endpoints in Mesos.

2016-07-22 Thread Zhitao Li
48c002d1dc371c285b9421ef5a2c57250d270fa8 src/tests/slave_tests.cpp 60f9e1644efaeba893f4ff38b6d5a07087d1a355 Diff: https://reviews.apache.org/r/50223/diff/ Testing --- `make check` on Mac OS. Thanks, Zhitao Li

Re: Review Request 50223: Separate AuthN for readonly and readwrite endpoints in Mesos.

2016-07-21 Thread Zhitao Li
Zhitao --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50223/#review143153 --- On July 22, 2016, 12:25 a.m., Zhitao Li wrote: > >

Re: Review Request 50223: Separate AuthN for readonly and readwrite endpoints in Mesos.

2016-07-21 Thread Zhitao Li
48c002d1dc371c285b9421ef5a2c57250d270fa8 src/tests/slave_tests.cpp 60f9e1644efaeba893f4ff38b6d5a07087d1a355 Diff: https://reviews.apache.org/r/50223/diff/ Testing --- `make check` on Mac OS. Thanks, Zhitao Li

Re: Review Request 50223: Separate AuthN for readonly and readwrite endpoints in Mesos.

2016-07-21 Thread Zhitao Li
m., Adam B wrote: > > src/master/master.cpp, line 386 > > <https://reviews.apache.org/r/50223/diff/4/?file=1448832#file1448832line386> > > > > This now applies to `http_authenticators` and > > `http_framework_authenticators` > > Zhitao Li wrote: > I

Review Request 50992: Make MESOS_{MAJOR|MINOR|PATCH}_VERSION macros integer in header.

2016-08-11 Thread Zhitao Li
/version.hpp.in c8fbc822d91abb61df15715c0c6af98b0bfe2cb9 Diff: https://reviews.apache.org/r/50992/diff/ Testing (updated) --- make on Mac OS and Linux. Thanks, Zhitao Li

Re: Review Request 50992: Make MESOS_{MAJOR|MINOR|PATCH}_VERSION macros integer in header.

2016-08-11 Thread Zhitao Li
--------- On Aug. 11, 2016, 5 p.m., Zhitao Li wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/50992/ > -

Review Request 51009: Collect throttle related cpu.stat for Docker Containerizer.

2016-08-11 Thread Zhitao Li
://reviews.apache.org/r/51009/diff/ Testing --- Run agent with cfs quota enabled, and observe that throttle related metrics are in `/containers` and `/monitoring/statistics` Thanks, Zhitao Li

  1   2   3   4   5   6   7   8   9   10   >