Re: Review Request 72275: Added Dong Zhu to contributors list.

2020-03-26 Thread Dong Zhu
Mahler. Repository: mesos Description (updated) --- Added Dong Zhu to contributors list. Diffs - docs/contributors.yaml 038013bb5bdfbbda109a7db630bcd068c2268aaa Diff: https://reviews.apache.org/r/72275/diff/1/ Testing --- Thanks, Dong Zhu

Review Request 72275: Added Dong Zhu to contributors list.

2020-03-26 Thread Dong Zhu
--- Signed-off-by: Dong Zhu Diffs - docs/contributors.yaml 038013bb5bdfbbda109a7db630bcd068c2268aaa Diff: https://reviews.apache.org/r/72275/diff/1/ Testing --- Thanks, Dong Zhu

Re: Review Request 72445: Fixed operator api event inconsistencies issue.

2020-04-28 Thread Dong Zhu
, this issue can lead to inconsistencies in Event stream. Signed-off-by: Dong Zhu Diffs - include/mesos/master/master.proto 021dadcea026da41347b3aaee5ddd12f4f14fa29 include/mesos/v1/master/master.proto 488fe294e8bfe8e0c6fc23c88f06c0d41169b96d src/master/master.cpp

Review Request 72448: Fixed operator api event inconsistencies issue.

2020-04-28 Thread Dong Zhu
/ Testing --- Thanks, Dong Zhu

Review Request 72445: Fixed operator api event inconsistencies issue.

2020-04-28 Thread Dong Zhu
Description --- This patch intends to fix issue MESOS-10085. When the authorization failed happens master return nothing to the subscriber, subscriber isn't aware of what is happening, this issue can lead to inconsistencies in Event stream. Signed-off-by: Dong Zhu Diffs - include/mesos/master

Re: Review Request 72448: Fixed operator api event inconsistencies issue.

2020-04-29 Thread Dong Zhu
on after sending the `Error` Event. > On April 29, 2020, 2:58 p.m., Andrei Sekretenko wrote: > > src/tests/master/mock_master_api_subscriber.cpp > > Lines 242 (patched) > > <https://reviews.apache.org/r/72448/diff/1/?file=2229247#file2229247line242> > > > >

Re: Review Request 72448: Fixed operator api event inconsistencies issue.

2020-10-16 Thread Dong Zhu
eviews.apache.org/r/72448/#review221963 --- On July 23, 2020, 5:03 p.m., Dong Zhu wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/72448/ > ---

Re: Review Request 72709: Fixed the tests warning messages.

2020-09-24 Thread Dong Zhu
> On July 28, 2020, 1:12 a.m., Benjamin Mahler wrote: > > Hm.. it seems this was done to support running the tests from an > > installation? > > > > https://github.com/apache/mesos/commit/6cca8c8071e4b863d951a1631141f861c47826d1 > > Dong Zhu wrote: >

Re: Review Request 72448: Fixed operator api event inconsistencies issue.

2020-09-24 Thread Dong Zhu
> On July 18, 2020, 1:10 a.m., Andrei Sekretenko wrote: > > Thanks! Now this patch addresses the main issue. > > Dong Zhu wrote: > I updated the patch, this time I do not handle > `approvers->approved(resource)` in `void > Master::Subscribers::Subscriber::send

Re: Review Request 72709: Fixed the tests warning messages.

2020-08-01 Thread Dong Zhu
> On July 28, 2020, 1:12 a.m., Benjamin Mahler wrote: > > Hm.. it seems this was done to support running the tests from an > > installation? > > > > https://github.com/apache/mesos/commit/6cca8c8071e4b863d951a1631141f861c47826d1 > > Dong Zhu wrote: >

Re: Review Request 72709: Fixed the tests warning messages.

2020-08-03 Thread Dong Zhu
> On July 28, 2020, 1:12 a.m., Benjamin Mahler wrote: > > Hm.. it seems this was done to support running the tests from an > > installation? > > > > https://github.com/apache/mesos/commit/6cca8c8071e4b863d951a1631141f861c47826d1 > > Dong Zhu wrote: >

Re: Review Request 72709: Fixed the tests warning messages.

2020-08-03 Thread Dong Zhu
://reviews.apache.org/r/72709/diff/3/ Changes: https://reviews.apache.org/r/72709/diff/2-3/ Testing --- make tests Thanks, Dong Zhu

Re: Review Request 72709: Fixed the tests warning messages.

2020-08-03 Thread Dong Zhu
://reviews.apache.org/r/72709/diff/2/ Changes: https://reviews.apache.org/r/72709/diff/1-2/ Testing --- make tests Thanks, Dong Zhu

Re: Review Request 72448: Fixed operator api event inconsistencies issue.

2020-08-03 Thread Dong Zhu
apache.org/r/72448/#review221252 --- On July 23, 2020, 5:03 p.m., Dong Zhu wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://re

Re: Review Request 72709: Fixed the tests warning messages.

2020-08-12 Thread Dong Zhu
> On July 28, 2020, 1:12 a.m., Benjamin Mahler wrote: > > Hm.. it seems this was done to support running the tests from an > > installation? > > > > https://github.com/apache/mesos/commit/6cca8c8071e4b863d951a1631141f861c47826d1 > > Dong Zhu wrote: >

Re: Review Request 72448: Fixed operator api event inconsistencies issue.

2020-07-14 Thread Dong Zhu
subscriber. > > > > To distinguish between **declined authorization** and **authorization > > error** here, you will have to change/extend the interface provided by > > `ObjectApprovers` (plural) so that it doesn't hide `Error`s returned by > > `

Re: Review Request 72448: Fixed operator api event inconsistencies issue.

2020-07-14 Thread Dong Zhu
a8cca622ff0bd172300b9a2717b4860ed06b620c src/tests/master/mock_master_api_subscriber.cpp 893d3e366164ccebd2847ed4c2874ab00e0e5b7b Diff: https://reviews.apache.org/r/72448/diff/2/ Changes: https://reviews.apache.org/r/72448/diff/1-2/ Testing --- - Manually tested - make check Thanks, Dong Zhu

Re: Review Request 72448: Fixed operator api event inconsistencies issue.

2020-07-12 Thread Dong Zhu
subscriber. > > > > To distinguish between **declined authorization** and **authorization > > error** here, you will have to change/extend the interface provided by > > `ObjectApprovers` (plural) so that it doesn't hide `Error`s returned by > > `

Re: Review Request 72448: Fixed operator api event inconsistencies issue.

2020-07-09 Thread Dong Zhu
subscriber. > > > > To distinguish between **declined authorization** and **authorization > > error** here, you will have to change/extend the interface provided by > > `ObjectApprovers` (plural) so that it doesn't hide `Error`s returned by > > `

Re: Review Request 72600: Remove credential text format support.

2020-06-22 Thread Dong Zhu
/ Changes: https://reviews.apache.org/r/72600/diff/1-2/ Testing --- Manually tested make check Thanks, Dong Zhu

Re: Review Request 72600: Remove credential text format support.

2020-06-22 Thread Dong Zhu
-- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72600/#review221037 ------- On June 23, 2020, 3:40 a.m., Dong Zhu wrote: > > --- > This is an auto

Review Request 72618: Deprecated tests plain text credential format.

2020-06-25 Thread Dong Zhu
tests plain text credential format. Testing --- Thanks, Dong Zhu

Review Request 72620: Deprecated tests plain text credential format.

2020-06-25 Thread Dong Zhu
tests plain text credential format. Diffs - src/tests/credentials_tests.cpp 8fa26dfc564a417cf09ddb904f0d34acd448b811 src/tests/script.cpp 038519c92787824098ab503e0ac79ec311e057b0 Diff: https://reviews.apache.org/r/72620/diff/1/ Testing --- Thanks, Dong Zhu

Re: Review Request 72600: Remove credential text format support.

2020-06-25 Thread Dong Zhu
://reviews.apache.org/r/72600/diff/3/ Changes: https://reviews.apache.org/r/72600/diff/2-3/ Testing --- Manually tested make check Thanks, Dong Zhu

Re: Review Request 72620: Deprecated tests plain text credential format.

2020-06-27 Thread Dong Zhu
/ Testing (updated) --- Manually tested Thanks, Dong Zhu

Review Request 72600: Remove credential text format support.

2020-06-16 Thread Dong Zhu
: mesos Description --- Since text format for credential is no longer supported, remove it. Diffs - src/credentials/credentials.hpp 6e9f4aabfa810a4569acdcbeb9491f928e29bb9d Diff: https://reviews.apache.org/r/72600/diff/1/ Testing --- Manually tested make check Thanks, Dong

Re: Review Request 72448: Fixed operator api event inconsistencies issue.

2020-06-08 Thread Dong Zhu
> > `support/post-reviews.py --bugs-closed MESOS-10085`) and don't forget the > > "testing done" section. > > Dong Zhu wrote: > Thanks for your info, I replied them one by one as below. @Andrei Sekretenko Could you take a look at the following comments ? - Dong

Re: Review Request 72600: Remove credential text format support.

2020-07-24 Thread Dong Zhu
://reviews.apache.org/r/72600/diff/4/ Changes: https://reviews.apache.org/r/72600/diff/3-4/ Testing --- Manually tested make check Thanks, Dong Zhu

Re: Review Request 72618: Deprecated tests plain text credential format.

2020-07-24 Thread Dong Zhu
: mesos Description --- Deprecated tests plain text credential format. Testing --- Thanks, Dong Zhu

Re: Review Request 72448: Fixed operator api event inconsistencies issue.

2020-07-23 Thread Dong Zhu
a8cca622ff0bd172300b9a2717b4860ed06b620c src/tests/master/mock_master_api_subscriber.cpp 893d3e366164ccebd2847ed4c2874ab00e0e5b7b Diff: https://reviews.apache.org/r/72448/diff/3/ Changes: https://reviews.apache.org/r/72448/diff/2-3/ Testing --- - Manually tested - make check Thanks, Dong Zhu

Review Request 72709: Fixed the tests warning messages.

2020-07-27 Thread Dong Zhu
tests Thanks, Dong Zhu

Re: Review Request 72709: Fixed the tests warning messages.

2020-07-27 Thread Dong Zhu
IR}/atexit.sh" && test -f $FILE && source $FILE ``` What's your opinon here and which method will you prefer ? - Dong --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72709/#review221383 -

Re: Review Request 72448: Fixed operator api event inconsistencies issue.

2020-07-19 Thread Dong Zhu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72448/#review221253 --- On July 14, 2020, 9:43 a.m., Dong Zhu wrote: > > --

Re: Review Request 72448: Fixed operator api event inconsistencies issue.

2020-07-19 Thread Dong Zhu
_allocation_info()) { result = tryApproved(resource.allocation_info().role()); if (result.isError() || !result.get()) return result; } return result; } ``` I do not place original method `bool approved(const Args&... args) const` into `Try tryApproved(const Args&... args)

Re: Review Request 72448: Fixed operator api event inconsistencies issue.

2020-07-21 Thread Dong Zhu
tream` instead of > > directly writing into the glog's stream returned by `LOG(WARNING)`? > > Dong Zhu wrote: > I need those logs to inform subscriber about the exact fail reason. Is it necessary to notify user regarding the fail reason? I