You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Anand Mazumdar <ma...@gmail.com> on 2015/09/30 05:38:13 UTC

Review Request 38873: Added helper functions for evolving old style executor messages to V1 Executor Events

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38873/
-----------------------------------------------------------

Review request for mesos, Ben Mahler, Isabel Jimenez, and Vinod Kone.


Bugs: MESOS-3480
    https://issues.apache.org/jira/browse/MESOS-3480


Repository: mesos


Description
-------

This change implements helper functions for evolving old style Executor messages in `src/messages/messages.proto` to V1 Executor Events defined in `include/mesos/v1/executor/executor.proto`. This is needed for MESOS-3480


Diffs
-----

  src/internal/evolve.hpp 9babac3ccbfb2bf9a3989a3ae20cf96e5f3a2903 
  src/internal/evolve.cpp 625706e089984b32d8298a2eacf2f8af2bca931e 

Diff: https://reviews.apache.org/r/38873/diff/


Testing
-------

make check


Thanks,

Anand Mazumdar


Re: Review Request 38873: Added helper functions for evolving old style executor messages to V1 Executor Events

Posted by Guangya Liu <gy...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38873/#review101573
-----------------------------------------------------------

Ship it!


Ship It!

- Guangya Liu


On 十月 5, 2015, 11:09 p.m., Anand Mazumdar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38873/
> -----------------------------------------------------------
> 
> (Updated 十月 5, 2015, 11:09 p.m.)
> 
> 
> Review request for mesos, Ben Mahler, Isabel Jimenez, and Vinod Kone.
> 
> 
> Bugs: MESOS-3480
>     https://issues.apache.org/jira/browse/MESOS-3480
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This change implements helper functions for evolving old style Executor messages in `src/messages/messages.proto` to V1 Executor Events defined in `include/mesos/v1/executor/executor.proto`. This is needed for MESOS-3480
> 
> 
> Diffs
> -----
> 
>   src/internal/evolve.hpp 9babac3ccbfb2bf9a3989a3ae20cf96e5f3a2903 
>   src/internal/evolve.cpp 625706e089984b32d8298a2eacf2f8af2bca931e 
> 
> Diff: https://reviews.apache.org/r/38873/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Anand Mazumdar
> 
>


Re: Review Request 38873: Added helper functions for evolving old style executor messages to V1 Executor Events

Posted by Isabel Jimenez <co...@isabeljimenez.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38873/#review101551
-----------------------------------------------------------

Ship it!


Ship It!

- Isabel Jimenez


On Oct. 5, 2015, 11:09 p.m., Anand Mazumdar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38873/
> -----------------------------------------------------------
> 
> (Updated Oct. 5, 2015, 11:09 p.m.)
> 
> 
> Review request for mesos, Ben Mahler, Isabel Jimenez, and Vinod Kone.
> 
> 
> Bugs: MESOS-3480
>     https://issues.apache.org/jira/browse/MESOS-3480
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This change implements helper functions for evolving old style Executor messages in `src/messages/messages.proto` to V1 Executor Events defined in `include/mesos/v1/executor/executor.proto`. This is needed for MESOS-3480
> 
> 
> Diffs
> -----
> 
>   src/internal/evolve.hpp 9babac3ccbfb2bf9a3989a3ae20cf96e5f3a2903 
>   src/internal/evolve.cpp 625706e089984b32d8298a2eacf2f8af2bca931e 
> 
> Diff: https://reviews.apache.org/r/38873/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Anand Mazumdar
> 
>


Re: Review Request 38873: Added helper functions for evolving old style executor messages to V1 Executor Events

Posted by Ben Mahler <be...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38873/#review101709
-----------------------------------------------------------

Ship it!


Will get this committed shortly.


src/internal/evolve.hpp (lines 100 - 101)
<https://reviews.apache.org/r/38873/#comment159171>

    Why did you wrap?
    
    ```
    >>> len('v1::executor::Event evolve(const StatusUpdateAcknowledgementMessage& message);')
    78
    ```



src/internal/evolve.cpp (lines 304 - 305)
<https://reviews.apache.org/r/38873/#comment159172>

    Why did you wrap?
    
    ```
    >>> len('  kill->mutable_task_id()->CopyFrom(evolve(message.task_id()));')
    63
    ```



src/internal/evolve.cpp (lines 317 - 318)
<https://reviews.apache.org/r/38873/#comment159173>

    Ditto about wrapping here and elsewhere


- Ben Mahler


On Oct. 5, 2015, 11:09 p.m., Anand Mazumdar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38873/
> -----------------------------------------------------------
> 
> (Updated Oct. 5, 2015, 11:09 p.m.)
> 
> 
> Review request for mesos, Ben Mahler, Isabel Jimenez, and Vinod Kone.
> 
> 
> Bugs: MESOS-3480
>     https://issues.apache.org/jira/browse/MESOS-3480
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This change implements helper functions for evolving old style Executor messages in `src/messages/messages.proto` to V1 Executor Events defined in `include/mesos/v1/executor/executor.proto`. This is needed for MESOS-3480
> 
> 
> Diffs
> -----
> 
>   src/internal/evolve.hpp 9babac3ccbfb2bf9a3989a3ae20cf96e5f3a2903 
>   src/internal/evolve.cpp 625706e089984b32d8298a2eacf2f8af2bca931e 
> 
> Diff: https://reviews.apache.org/r/38873/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Anand Mazumdar
> 
>


Re: Review Request 38873: Added helper functions for evolving old style executor messages to V1 Executor Events

Posted by Anand Mazumdar <ma...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38873/
-----------------------------------------------------------

(Updated Oct. 5, 2015, 11:09 p.m.)


Review request for mesos, Ben Mahler, Isabel Jimenez, and Vinod Kone.


Changes
-------

Removed the erroneous declaration as per review comments


Bugs: MESOS-3480
    https://issues.apache.org/jira/browse/MESOS-3480


Repository: mesos


Description
-------

This change implements helper functions for evolving old style Executor messages in `src/messages/messages.proto` to V1 Executor Events defined in `include/mesos/v1/executor/executor.proto`. This is needed for MESOS-3480


Diffs (updated)
-----

  src/internal/evolve.hpp 9babac3ccbfb2bf9a3989a3ae20cf96e5f3a2903 
  src/internal/evolve.cpp 625706e089984b32d8298a2eacf2f8af2bca931e 

Diff: https://reviews.apache.org/r/38873/diff/


Testing
-------

make check


Thanks,

Anand Mazumdar


Re: Review Request 38873: Added helper functions for evolving old style executor messages to V1 Executor Events

Posted by Isabel Jimenez <co...@isabeljimenez.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38873/#review101550
-----------------------------------------------------------


LGTM just small nit from standing review issue

- Isabel Jimenez


On Sept. 30, 2015, 3:38 a.m., Anand Mazumdar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38873/
> -----------------------------------------------------------
> 
> (Updated Sept. 30, 2015, 3:38 a.m.)
> 
> 
> Review request for mesos, Ben Mahler, Isabel Jimenez, and Vinod Kone.
> 
> 
> Bugs: MESOS-3480
>     https://issues.apache.org/jira/browse/MESOS-3480
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This change implements helper functions for evolving old style Executor messages in `src/messages/messages.proto` to V1 Executor Events defined in `include/mesos/v1/executor/executor.proto`. This is needed for MESOS-3480
> 
> 
> Diffs
> -----
> 
>   src/internal/evolve.hpp 9babac3ccbfb2bf9a3989a3ae20cf96e5f3a2903 
>   src/internal/evolve.cpp 625706e089984b32d8298a2eacf2f8af2bca931e 
> 
> Diff: https://reviews.apache.org/r/38873/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Anand Mazumdar
> 
>


Re: Review Request 38873: Added helper functions for evolving old style executor messages to V1 Executor Events

Posted by Guangya Liu <gy...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38873/#review101069
-----------------------------------------------------------



src/internal/evolve.hpp (line 46)
<https://reviews.apache.org/r/38873/#comment158378>

    This should be removed?


- Guangya Liu


On 九月 30, 2015, 3:38 a.m., Anand Mazumdar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38873/
> -----------------------------------------------------------
> 
> (Updated 九月 30, 2015, 3:38 a.m.)
> 
> 
> Review request for mesos, Ben Mahler, Isabel Jimenez, and Vinod Kone.
> 
> 
> Bugs: MESOS-3480
>     https://issues.apache.org/jira/browse/MESOS-3480
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This change implements helper functions for evolving old style Executor messages in `src/messages/messages.proto` to V1 Executor Events defined in `include/mesos/v1/executor/executor.proto`. This is needed for MESOS-3480
> 
> 
> Diffs
> -----
> 
>   src/internal/evolve.hpp 9babac3ccbfb2bf9a3989a3ae20cf96e5f3a2903 
>   src/internal/evolve.cpp 625706e089984b32d8298a2eacf2f8af2bca931e 
> 
> Diff: https://reviews.apache.org/r/38873/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Anand Mazumdar
> 
>