Re: Review Request 53489: Added support for request streaming to the connection abstraction.

2016-11-10 Thread Anand Mazumdar
this pipe to send the request via the socket. Diffs (updated) - 3rdparty/libprocess/src/http.cpp b5ddac9f1970358f8232a481431507242052d294 Diff: https://reviews.apache.org/r/53489/diff/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 53490: Added a test for request streaming via the connection abstraction.

2016-11-10 Thread Anand Mazumdar
-------- On Nov. 4, 2016, 5:55 p.m., Anand Mazumdar wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/53490/ > -

Re: Review Request 53490: Added a test for request streaming via the connection abstraction.

2016-11-10 Thread Anand Mazumdar
533104c93dd1eaf67bf3752163d2e0cad090078d Diff: https://reviews.apache.org/r/53490/diff/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 53490: Added a test for request streaming via the connection abstraction.

2016-11-10 Thread Anand Mazumdar
/http_tests.cpp 533104c93dd1eaf67bf3752163d2e0cad090078d Diff: https://reviews.apache.org/r/53490/diff/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 53511: Parameterized existing decoder tests on the type of decoder.

2016-11-10 Thread Anand Mazumdar
- On Nov. 10, 2016, 10:07 p.m., Anand Mazumdar wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/53511/ > --- > >

Re: Review Request 53365: Fixed an issue in the gzip error handling.

2016-11-10 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/53365/#review155662 --- Ship it! Ship It! - Anand Mazumdar On Nov. 8, 2016, 4:22

Re: Review Request 53366: Introduced a streaming gzip::Decompressor.

2016-11-10 Thread Anand Mazumdar
g semantically? - Anand Mazumdar On Nov. 8, 2016, 4:22 a.m., Benjamin Mahler wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://

Re: Review Request 53490: Added a test for request streaming via the connection abstraction.

2016-11-10 Thread Anand Mazumdar
533104c93dd1eaf67bf3752163d2e0cad090078d Diff: https://reviews.apache.org/r/53490/diff/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 53366: Introduced a streaming gzip::Decompressor.

2016-11-10 Thread Anand Mazumdar
(line 22) <https://reviews.apache.org/r/53366/#comment225738> Kill this since it's not needed anymore. - Anand Mazumdar On Nov. 11, 2016, 12:36 a.m., Benjamin Mahler wrote: > > --- > This is an automatically genera

Re: Review Request 53486: Introduced a streaming request decoder in libprocess.

2016-11-11 Thread Anand Mazumdar
mentation difference? > > Have you explored merging them? E.g. > > > > ``` > > namespace internal { > > template // We can later restrict which T's are allowed. > > class Decoder > > { > > ... > > }; > > } > > > > // Users only use these non-t

Re: Review Request 53486: Introduced a streaming request decoder in libprocess.

2016-11-11 Thread Anand Mazumdar
) - 3rdparty/libprocess/src/decoder.hpp 76dca0b272af8591880ef220ec2dc006906fbc36 Diff: https://reviews.apache.org/r/53486/diff/ Testing --- make check (tests are added in https://reviews.apache.org/r/53511/) Thanks, Anand Mazumdar

Re: Review Request 53487: Wired the libprocess code to use the streaming decoder.

2016-11-11 Thread Anand Mazumdar
sage) { > > if (!message.isReady()) { > > // Handle error. > > } > > > > // No longer need to care about nullptr case. > > CHECK_NOTNULL(message.get()); > > > > // Han

Re: Review Request 53487: Wired the libprocess code to use the streaming decoder.

2016-11-11 Thread Anand Mazumdar
/ Testing --- make check (Tests are added in https://reviews.apache.org/r/53490 i.e., after we add support to the `Connection` abstraction for request streaming) Thanks, Anand Mazumdar

Re: Review Request 53490: Added a test for request streaming and GZIP compression.

2016-11-11 Thread Anand Mazumdar
: https://reviews.apache.org/r/53490/diff/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 53680: Prevented copying of the gzip::Decompressor.

2016-11-11 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/53680/#review155746 --- Ship it! - Anand Mazumdar On Nov. 11, 2016, 9 p.m., Benjamin

Re: Review Request 53654: Avoided unnecessary copies of `HttpConnection`.

2016-11-20 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/53654/#review156422 --- Ship it! LGTM, thanks for the cleanup. - Anand Mazumdar On

Re: Review Request 53825: MESOS-6597 Enabled java protos generation for all V1 proto files.

2016-11-20 Thread Anand Mazumdar
(lines 1630 - 1634) <https://reviews.apache.org/r/53825/#comment226629> Nit: Sort them alphabetically. - Anand Mazumdar On Nov. 18, 2016, 8:04 a.m., Vijay Srinivasaraghavan wrote: > > --- > This is an automatically genera

Re: Review Request 53372: MESOS-5662: Fixed parent class SetUpTestCase calls.

2016-11-20 Thread Anand Mazumdar
before committing. - Anand Mazumdar On Nov. 2, 2016, 5:35 a.m., Manuwela Kanade wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 53487: Wired the libprocess code to use the streaming decoder.

2016-11-21 Thread Anand Mazumdar
ab2b5a9d38a3001d6a5daa1807fecb630c4b154d Diff: https://reviews.apache.org/r/53487/diff/ Testing --- make check (Tests are added in https://reviews.apache.org/r/53490 i.e., after we add support to the `Connection` abstraction for request streaming) Thanks, Anand Mazumdar

Re: Review Request 53486: Introduced a streaming request decoder in libprocess.

2016-11-21 Thread Anand Mazumdar
://reviews.apache.org/r/53486/ Diffs (updated) - 3rdparty/libprocess/src/decoder.hpp 76dca0b272af8591880ef220ec2dc006906fbc36 Diff: https://reviews.apache.org/r/53486/diff/ Testing --- make check (tests are added in https://reviews.apache.org/r/53511/) Thanks, Anand Mazumdar

Re: Review Request 53490: Added a test for request streaming and GZIP compression.

2016-11-21 Thread Anand Mazumdar
Thanks, Anand Mazumdar

Re: Review Request 53487: Wired the libprocess code to use the streaming decoder.

2016-11-21 Thread Anand Mazumdar
et in C++11), whereas you couldn't with the first option. Used `Owned &&` instead. - Anand --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/53487/#review156500

Re: Review Request 53491: Disabled tests relying on filtering HTTP events.

2016-11-21 Thread Anand Mazumdar
s.cpp 99c27399297e3b04af167029d200d8ac418af2a6 Diff: https://reviews.apache.org/r/53491/diff/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 53487: Wired the libprocess code to use the streaming decoder.

2016-11-21 Thread Anand Mazumdar
Diff: https://reviews.apache.org/r/53487/diff/ Testing --- make check (Tests are added in https://reviews.apache.org/r/53490 i.e., after we add support to the `Connection` abstraction for request streaming) Thanks, Anand Mazumdar

Re: Review Request 53485: Introduced a `readAll()` helper on `http::Pipe::Reader`.

2016-11-21 Thread Anand Mazumdar
914767915d68d747a3c0e873047e527e6aedea0e Diff: https://reviews.apache.org/r/53485/diff/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 53491: Disabled tests relying on filtering HTTP events.

2016-11-22 Thread Anand Mazumdar
/53491/#review156625 --- On Nov. 22, 2016, 12:27 a.m., Anand Mazumdar wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/53491/ > --

Re: Review Request 53825: MESOS-6597 Enabled java protos generation for all V1 proto files.

2016-11-22 Thread Anand Mazumdar
> On Nov. 20, 2016, 9:04 p.m., Anand Mazumdar wrote: > > Nice first patch and welcome to the community! > > > > - Can you update the Testing Done section with details on testing? > > - We also support Python bindings. Do you mind adding these protos to our > >

Re: Review Request 54039: Added `recordio::transform` helper.

2016-11-23 Thread Anand Mazumdar
g/r/54039/#comment227057> Unrelated to this review, can you also make a similar change to the scheduler/executor library for consistency. - Anand Mazumdar On Nov. 23, 2016, 7:20 p.m., Vinod Kone wrote: > > --- > This is a

Re: Review Request 54077: Made sure parser settings member is properly initialized.

2016-11-25 Thread Anand Mazumdar
the other decoders to correctly initialize the `settings` variable too? - Anand Mazumdar On Nov. 25, 2016, 11:41 a.m., Benjamin Bannier wrote: > > --- > This is an automatically generated e-mail. To reply, visit

Re: Review Request 54048: Fixed a bug in scheduler library.

2016-11-27 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54048/#review156972 --- Ship it! Ship It! - Anand Mazumdar On Nov. 26, 2016, 5:40

Re: Review Request 54093: Refactored recordio::ReaderProcess to be managed by gc.

2016-11-27 Thread Anand Mazumdar
tps://reviews.apache.org/r/54093/#comment227350> You might want to commit naming the `ReaderProcess` as a separate commit since it's unrelated to this patch. - Anand Mazumdar On Nov. 26, 2016, 5:40 p.m., Vinod Kone wrote: > > ---

Re: Review Request 54039: Added `recordio::transform` helper.

2016-11-27 Thread Anand Mazumdar
onnection between agent and switchboard breaks - Anand Mazumdar On Nov. 26, 2016, 5:41 p.m., Vinod Kone wrote: > > --- > This is an automatically generated e-mail. To reply, visit:

Re: Review Request 53994: Added streaming support to `/api/v1` handler on the agent.

2016-11-27 Thread Anand Mazumdar
53994/#comment227358> This can be moved to the `api()` handler itself. - Anand Mazumdar On Nov. 26, 2016, 5:42 p.m., Vinod Kone wrote: > > --- > This is an automatically gen

Re: Review Request 54049: Cleaned up includes in tests/api_tests.cpp.

2016-11-27 Thread Anand Mazumdar
. ``` Aliased `process::http` namespace to `http` in `tests/api_tests.cpp`. ``` - Anand Mazumdar On Nov. 26, 2016, 5:42 p.m., Vinod Kone wrote: > > --- > This is an automatically generated e-mail. To reply, visit

Re: Review Request 54039: Added `recordio::transform` helper.

2016-11-27 Thread Anand Mazumdar
g/r/54039/#comment227365> hmm, this doesn't need to be an `Owned` here. Can we just use `Reader&& reader` instead? We needed it to be an `Owned` in the scheduler library as we wanted to save it as a member variable across invocations. - Anand Mazumdar On Nov.

Re: Review Request 53825: MESOS-6597 Enabled java protos generation for all V1 proto files.

2016-11-28 Thread Anand Mazumdar
> On Nov. 20, 2016, 9:04 p.m., Anand Mazumdar wrote: > > Nice first patch and welcome to the community! > > > > - Can you update the Testing Done section with details on testing? > > - We also support Python bindings. Do you mind adding these protos to our > >

Re: Review Request 53994: Added streaming support to `/api/v1` handler on the agent.

2016-11-28 Thread Anand Mazumdar
390) <https://reviews.apache.org/r/53994/#comment227566> Do you need to implicitly capture everything or can we be explicit here? - Anand Mazumdar On Nov. 28, 2016, 8:56 p.m., Vinod Kone wrote: > > --- > This is an automatically genera

Re: Review Request 53995: Added API handler for ATTACH_CONTAINER_OUTPUT.

2016-11-28 Thread Anand Mazumdar
nerizer/mock_containerizer.hpp (lines 71 - 73) <https://reviews.apache.org/r/53995/#comment227610> hmm, not sure why did you need the change in this review? You don't seem to be using the `MockContainerizer` in your test? - Anand Mazumdar On Nov. 28, 2016, 10:50 p.m., Vinod Ko

Re: Review Request 54039: Added `recordio::transform` helper.

2016-11-28 Thread Anand Mazumdar
(line 165) <https://reviews.apache.org/r/54039/#comment227613> s/the future/, the future - Anand Mazumdar On Nov. 28, 2016, 6:48 a.m., Vinod Kone wrote: > > --- > This is an automatically generated e-mail. To reply,

Re: Review Request 53995: Added API handler for ATTACH_CONTAINER_OUTPUT.

2016-11-28 Thread Anand Mazumdar
tps://reviews.apache.org/r/53995/#comment227661> argument by reference: `Future&` src/tests/api_tests.cpp (line 31) <https://reviews.apache.org/r/53995/#comment227660> Remove this include? - Anand Mazumdar On Nov. 29, 2016, 5:38 a.m.,

Review Request 54218: Made `serialize()`/`deserialize()` handle streaming content types.

2016-11-30 Thread Anand Mazumdar
f. Diffs - src/common/http.hpp 378208be58d0cd141ff60a6d25a173f2793870dc src/common/http.cpp 42af33094150001fa6741effb6b0aee1cde3c109 Diff: https://reviews.apache.org/r/54218/diff/ Testing --- make check (these would be tested later in the chain) Thanks, Anand Mazumdar

Review Request 54217: Introduced streaming content types.

2016-11-30 Thread Anand Mazumdar
://reviews.apache.org/r/54217/diff/ Testing --- make check Thanks, Anand Mazumdar

Review Request 54219: Added validation for the attach container input call on the agent.

2016-11-30 Thread Anand Mazumdar
check (tests would be added later in the chain) Thanks, Anand Mazumdar

Review Request 54220: Made the agent's `api/v1` handler handle request streaming.

2016-11-30 Thread Anand Mazumdar
/slave/http.cpp 87189dd6e2e099cb74faabd3ad26aaca11e5cef2 src/slave/slave.hpp 05865a09724f7a46e9c06b02e59779513fc532aa Diff: https://reviews.apache.org/r/54220/diff/ Testing --- make check (tests would be added later in the chain) Thanks, Anand Mazumdar

Review Request 54221: Added the v1 `ATTACH_CONTAINER_INPUT` call handler on the agent.

2016-11-30 Thread Anand Mazumdar
Diff: https://reviews.apache.org/r/54221/diff/ Testing --- make check (tests would be added soon and can't be committed without them) Thanks, Anand Mazumdar

Re: Review Request 54218: Made `serialize()`/`deserialize()` handle streaming content types.

2016-11-30 Thread Anand Mazumdar
make check (these would be tested later in the chain) Thanks, Anand Mazumdar

Re: Review Request 54221: Added the v1 `ATTACH_CONTAINER_INPUT` call handler on the agent.

2016-11-30 Thread Anand Mazumdar
s (updated) - src/slave/http.cpp 87189dd6e2e099cb74faabd3ad26aaca11e5cef2 src/slave/slave.hpp 05865a09724f7a46e9c06b02e59779513fc532aa Diff: https://reviews.apache.org/r/54221/diff/ Testing --- make check (tests would be added soon and can't be committed without them) Thanks, Anand Mazumdar

Re: Review Request 54218: Made `serialize()`/`deserialize()` handle streaming content types.

2016-11-30 Thread Anand Mazumdar
ambdas any more since it's no longer doing "Record-IO" as was the case previously. :-) - Anand --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54218/#review157508 --

Re: Review Request 54193: Refactored `Slave::Http::launcNestedContainer()`.

2016-11-30 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54193/#review157513 --- Ship it! Ship It! - Anand Mazumdar On Nov. 30, 2016, 3:53

Re: Review Request 54220: Made the agent's `api/v1` handler handle request streaming.

2016-11-30 Thread Anand Mazumdar
added later in the chain) Thanks, Anand Mazumdar

Re: Review Request 54218: Made `serialize()`/`deserialize()` handle streaming content types.

2016-11-30 Thread Anand Mazumdar
make check (these would be tested later in the chain) Thanks, Anand Mazumdar

Re: Review Request 54221: Added the v1 `ATTACH_CONTAINER_INPUT` call handler on the agent.

2016-11-30 Thread Anand Mazumdar
87189dd6e2e099cb74faabd3ad26aaca11e5cef2 src/slave/slave.hpp 05865a09724f7a46e9c06b02e59779513fc532aa Diff: https://reviews.apache.org/r/54221/diff/ Testing --- make check (tests would be added soon and can't be committed without them) Thanks, Anand Mazumdar

Re: Review Request 54221: Added the v1 `ATTACH_CONTAINER_INPUT` call handler on the agent.

2016-11-30 Thread Anand Mazumdar
nput` in > > this patch? +1 to the proposal except don't pass `principal` when its not needed. Some calls might not be interested in AuthZ at all. I did not pass `principal` since we did not have AuthZ handling for this handler. Would add it since we know that it's alread

Review Request 54243: Fixed the attach output container test to use the mock containerizer.

2016-11-30 Thread Anand Mazumdar
--- Otherwise, the test would fail when we add support to the containerizer to support `attach()`. Diffs - src/tests/api_tests.cpp b2a70f3174824d3cb241a098d96e4d63a390f8bc Diff: https://reviews.apache.org/r/54243/diff/ Testing --- make check Thanks, Anand Mazumdar

Review Request 54242: Added a test for the `ATTACH_CONTAINER_INPUT` call on the Agent API.

2016-11-30 Thread Anand Mazumdar
check Thanks, Anand Mazumdar

Re: Review Request 54221: Added the v1 `ATTACH_CONTAINER_INPUT` call handler on the agent.

2016-11-30 Thread Anand Mazumdar
ttachContainerOutput`. can we make them consistent? > > Anand Mazumdar wrote: > hmm, the scenarios looked pretty different and hence I did not make them > consistent. In the previous scenario, we had already received the `response` > from the `Connection` object and were streamin

Re: Review Request 54221: Added the v1 `ATTACH_CONTAINER_INPUT` call handler on the agent.

2016-11-30 Thread Anand Mazumdar
hanks, Anand Mazumdar

Re: Review Request 54221: Added the v1 `ATTACH_CONTAINER_INPUT` call handler on the agent.

2016-11-30 Thread Anand Mazumdar
87189dd6e2e099cb74faabd3ad26aaca11e5cef2 src/slave/slave.hpp 05865a09724f7a46e9c06b02e59779513fc532aa Diff: https://reviews.apache.org/r/54221/diff/ Testing --- make check (tests would be added soon and can't be committed without them) Thanks, Anand Mazumdar

Re: Review Request 54218: Made `serialize()`/`deserialize()` handle streaming content types.

2016-11-30 Thread Anand Mazumdar
make check (these would be tested later in the chain) Thanks, Anand Mazumdar

Re: Review Request 54196: Added API handler for LAUNCH_NESTED_CONTAINER_SESSION.

2016-12-01 Thread Anand Mazumdar
the containerizer for launching debug containers? src/tests/api_tests.cpp (line 3679) <https://reviews.apache.org/r/54196/#comment228243> Use this directly in L3685. You don't need the accept header here due to the response being `InternalServerError`. - Anand Mazumdar On Dec. 1, 2016,

Re: Review Request 54194: Added `devolve` helper for `ContainerID`.

2016-12-01 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54194/#review157632 --- Ship it! Ship It! - Anand Mazumdar On Nov. 30, 2016, 3:55

Re: Review Request 54245: Updated signatures of v1 agent API handlers.

2016-12-01 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54245/#review157633 --- Ship it! Nice cleanup! - Anand Mazumdar On Dec. 1, 2016, 6

Review Request 54274: Made `http::serv()` use the streaming request decoder.

2016-12-01 Thread Anand Mazumdar
5203fb308e4ba2cd7d00b1c5a96d783c966ef47b 3rdparty/libprocess/src/tests/http_tests.cpp 4a0d852e304ff50afca090571f82d0848adf1d25 Diff: https://reviews.apache.org/r/54274/diff/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 54196: Added API handler for LAUNCH_NESTED_CONTAINER_SESSION.

2016-12-01 Thread Anand Mazumdar
src/tests/api_tests.cpp (line 3683) <https://reviews.apache.org/r/54196/#comment228323> s/callbacks/pending callbacks - Anand Mazumdar On Dec. 2, 2016, 4:42 a.m., Vinod Kone wrote: > > --- > This is an autom

Re: Review Request 54274: Made `http::serv()` use the streaming request decoder.

2016-12-01 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54274/#review157704 --- On Dec. 2, 2016, 12:11 a.m., Anand Mazumdar wrote: > > --

Re: Review Request 54296: Updated the IOSwitchboard http handler to work with streaming requests.

2016-12-02 Thread Anand Mazumdar
bda::bind( deserialize, contentType, lambda::_1)), request.reader.get())); ``` - Anand Mazumdar On Dec. 2, 2016, 6:48 a.m., Kevin Klues wrote: > > --- > This is an automatically generated e-mail. To rep

Re: Review Request 54297: Added support for ATTACH_CONTAINER_INPUT to the io switchboard.

2016-12-02 Thread Anand Mazumdar
streaming decoder first and then keep reviewing this. (We can't commit this anyways without tests) - Anand Mazumdar On Dec. 2, 2016, 6:54 a.m., Kevin Klues wrote: > > --- > This is an automatically generated e-mail. To reply,

Review Request 54337: Fixed the attach input call validation on the agent.

2016-12-02 Thread Anand Mazumdar
che.org/r/54337/diff/ Testing --- make check + added test Thanks, Anand Mazumdar

Review Request 54340: Fixed an attach container input test impacted by stricter validation.

2016-12-03 Thread Anand Mazumdar
--- Fixed an attach container input test impacted by stricter validation. Diffs - src/tests/api_tests.cpp afae6a7e0809174f48f280f170fad9315e80a906 Diff: https://reviews.apache.org/r/54340/diff/ Testing --- Thanks, Anand Mazumdar

Re: Review Request 54337: Fixed the attach input call validation on the agent.

2016-12-03 Thread Anand Mazumdar
a60d2315ae511 src/tests/api_tests.cpp afae6a7e0809174f48f280f170fad9315e80a906 Diff: https://reviews.apache.org/r/54337/diff/ Testing --- make check + added test Thanks, Anand Mazumdar

Review Request 54342: Made the `deserializer()` not validate the Agent API calls too.

2016-12-03 Thread Anand Mazumdar
8b104ce9ca6e72a1e76943f0d68a0541a45e39f6 Diff: https://reviews.apache.org/r/54342/diff/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 54337: Fixed the attach input call validation on the agent.

2016-12-03 Thread Anand Mazumdar
eply, visit: https://reviews.apache.org/r/54337/#review157897 --- On Dec. 3, 2016, 7:19 p.m., Anand Mazumdar wrote: > > --- > This is an automatically g

Re: Review Request 54342: Fixed the Agent API to return `BadRequest` for deserialization errors.

2016-12-03 Thread Anand Mazumdar
/slave/http.cpp 8b104ce9ca6e72a1e76943f0d68a0541a45e39f6 Diff: https://reviews.apache.org/r/54342/diff/ Testing --- make check Thanks, Anand Mazumdar

Review Request 54343: Pulled the validation code from `deserializer()`.

2016-12-03 Thread Anand Mazumdar
--- make check Thanks, Anand Mazumdar

Re: Review Request 54297: Added support for ATTACH_CONTAINER_INPUT to the io switchboard.

2016-12-03 Thread Anand Mazumdar
le to combine these: ```cpp failure = Failure("Failed writing to stdin:" " " + (future.isFailed() ? future.failure() : "discarded"); ``` src/slave/containerizer/mesos/io/switchboard.cpp (line 1021) <https://reviews.apache.org/r/5

Re: Review Request 54297: Added support for ATTACH_CONTAINER_INPUT to the io switchboard.

2016-12-03 Thread Anand Mazumdar
/reviews.apache.org/r/54297/#comment228562> Nice Test! src/tests/containerizer/io_switchboard_tests.cpp (line 303) <https://reviews.apache.org/r/54297/#comment228556> s/only// - Anand Mazumdar On Dec. 4, 2016, 12:54 a.m., Kevin Klues wrote: > > ---

Re: Review Request 54297: Added support for ATTACH_CONTAINER_INPUT to the io switchboard.

2016-12-03 Thread Anand Mazumdar
> On Dec. 3, 2016, 8:36 p.m., Anand Mazumdar wrote: > > src/slave/containerizer/mesos/io/switchboard.cpp, line 916 > > <https://reviews.apache.org/r/54297/diff/2/?file=1575106#file1575106line916> > > > > hmm, this message is a bit mis-leading given that y

Re: Review Request 54013: Added user doc for nested container and task group.

2016-12-04 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54013/#review157927 --- Gilbert, can you add [~neilc] as a reviewer too? - Anand

Re: Review Request 54297: Added support for ATTACH_CONTAINER_INPUT to the io switchboard.

2016-12-04 Thread Anand Mazumdar
witchboard.cpp (lines 1044 - 1046) <https://reviews.apache.org/r/54297/#comment228580> Kill this and just have a `UNREACHABLE()`. - Anand Mazumdar On Dec. 4, 2016, 6:55 a.m., Kevin Klues wrote: > > -

Re: Review Request 53825: MESOS-6597 Enabled java protos generation for all V1 proto files.

2016-12-05 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/53825/#review158010 --- Ship it! Ship It! - Anand Mazumdar On Nov. 23, 2016, 5:46

Re: Review Request 54014: Fixed missing protobuf java package definition.

2016-12-05 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54014/#review158009 --- Ship it! Ship It! - Anand Mazumdar On Nov. 23, 2016, 5:46

Re: Review Request 54347: Cleaned up the 'IOSwitchboard.RedirectLog' test.

2016-12-05 Thread Anand Mazumdar
ily after an upgrade. - Anand Mazumdar On Dec. 5, 2016, 7:09 a.m., Kevin Klues wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > h

Re: Review Request 54134: Removed test assumptions about arrival order of status updates.

2016-12-05 Thread Anand Mazumdar
` for other task group related tests that have a similar wrong assumption? I would go ahead and commit this for now. - Anand Mazumdar On Nov. 28, 2016, 6:32 p.m., Benjamin Bannier wrote: > > --- > This is an automatically generat

Re: Review Request 54133: Fixed includes in default_executor_tests.cpp.

2016-12-05 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54133/#review158025 --- Ship it! Ship It! - Anand Mazumdar On Nov. 28, 2016, 6:32

Re: Review Request 54015: Added V1 API protos to python bindings.

2016-12-05 Thread Anand Mazumdar
am (line 460) <https://reviews.apache.org/r/54015/#comment228704> Alignment of the trailing character (``) needs to be fixed. src/Makefile.am (line 490) <https://reviews.apache.org/r/54015/#comment228668> Alignment of the trailing character (``) needs to be fixed. - Anand Maz

Re: Review Request 54077: Made sure parser settings member is properly initialized.

2016-12-05 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54077/#review158068 --- Ship it! Ship It! - Anand Mazumdar On Nov. 25, 2016, 4:07

Review Request 54496: Made the IO Switchboard wait for the reader to signal before exiting.

2016-12-07 Thread Anand Mazumdar
/ Testing --- make check (A test is added later in the chain that won't pass otherwise) Thanks, Anand Mazumdar

Review Request 54497: Added a test for the 'ATTACH_CONTAINER_INPUT' call.

2016-12-07 Thread Anand Mazumdar
--- Added a test for the 'ATTACH_CONTAINER_INPUT' call. Diffs - src/tests/api_tests.cpp 6cd1f83a47731ee8c4fb1f022bf585b271b3b966 Diff: https://reviews.apache.org/r/54497/diff/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 54496: Made the IO Switchboard wait for the reader to signal before exiting.

2016-12-07 Thread Anand Mazumdar
-------- On Dec. 7, 2016, 8:15 p.m., Anand Mazumdar wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/54496/ > -

Re: Review Request 54497: Added a test for the 'ATTACH_CONTAINER_INPUT' call.

2016-12-07 Thread Anand Mazumdar
che.org/r/54497/diff/ Testing --- make check Thanks, Anand Mazumdar

Review Request 54502: Made the default 'Accept-Type' be JSON on the Agent API.

2016-12-07 Thread Anand Mazumdar
_tests.cpp 6cd1f83a47731ee8c4fb1f022bf585b271b3b966 Diff: https://reviews.apache.org/r/54502/diff/ Testing --- make check Thanks, Anand Mazumdar

Re: Review Request 54497: Added a test for the 'ATTACH_CONTAINER_INPUT' call.

2016-12-07 Thread Anand Mazumdar
Thanks, Anand Mazumdar

Re: Review Request 54497: Added a test for the 'ATTACH_CONTAINER_INPUT' call.

2016-12-07 Thread Anand Mazumdar
his is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54497/#review158388 --- On Dec. 8, 2016, 12:39 a.m., Anand Mazumdar wrote: > > --- >

Re: Review Request 54281: Added new test for LAUNCH_NESTED_CONTAINER_SESSION.

2016-12-08 Thread Anand Mazumdar
ttps://reviews.apache.org/r/54281/#comment229337> Might want to make the string themselves be "stdout"/"stderr"? - Anand Mazumdar On Dec. 8, 2016, 1:23 a.m., Vinod Kone wrote: > > --- > Th

Re: Review Request 54508: Added a TTY test for LAUNCH_NESTED_CONTAINER_SESSION.

2016-12-10 Thread Anand Mazumdar
) <https://reviews.apache.org/r/54508/#comment229363> Nit: Quotes before `TTYInfo` src/tests/api_tests.cpp (line 3862) <https://reviews.apache.org/r/54508/#comment229364> s/stederr/stderr - Anand Mazumdar On Dec. 8, 2016, 9:51 p.m., Vino

Re: Review Request 54516: Removed the TODO in AgentAPITest.AttachContainerOutputFailure test.

2016-12-10 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54516/#review158765 --- Ship it! Ship It! - Anand Mazumdar On Dec. 8, 2016, 9:52

Re: Review Request 54544: Added AgentAPITest.LaunchNestedContainerSessionDisconnected.

2016-12-10 Thread Anand Mazumdar
this future itself fails for some reason, the next line won't future would never be ready. - Anand Mazumdar On Dec. 8, 2016, 9:53 p.m., Vinod Kone wrote: > > --- > This is an automatically generated e-mail. To reply,

Re: Review Request 54545: Cleaned up expectations in api_tests.cpp.

2016-12-10 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54545/#review158767 --- Ship it! Thanks for the cleanup! - Anand Mazumdar On Dec. 8

Re: Review Request 52765: Populated `recovered_slaves` in `/state` and `/slaves` endpoints.

2016-12-12 Thread Anand Mazumdar
e.org/r/52765/#comment229722> Let's keep the same comment here as you have on L2688 later - Anand Mazumdar On Nov. 2, 2016, 4:42 p.m., Zhitao Li wrote: > > --- > This is an automatically generated e-mail. To reply, visit:

Re: Review Request 54676: Fixed the environment overriding order in MesosContainerizer.

2016-12-12 Thread Anand Mazumdar
/cni_isolator_tests.cpp (lines 578 - 581) <https://reviews.apache.org/r/54676/#comment229736> How about just: ```cpp TaskInfo task = createTask(offer, command); ``` - Anand Mazumdar On Dec. 12, 2016, 9:53 p.m., Jie Yu wrote: > > -

<    4   5   6   7   8   9   10   11   12   13   >