You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Jie Yu <yu...@gmail.com> on 2014/10/16 20:22:45 UTC

Review Request 26815: Added a advisory message reminding the user to initialize the log.

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

Review request for mesos, Ben Mahler, Vinod Kone, and Bill Farner.


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


Repository: mesos-git


Description
-------

See ticket for details.


Diffs
-----

  src/log/recover.cpp 2013e9193fc53c769ec6815d769cdf8a565a8c5c 

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


Testing
-------

make check


Thanks,

Jie Yu


Re: Review Request 26815: Added a advisory message reminding the user to initialize the log.

Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26815/#review56963
-----------------------------------------------------------



src/log/recover.cpp
<https://reviews.apache.org/r/26815/#comment97403>

    s/wanna/want to/



src/log/recover.cpp
<https://reviews.apache.org/r/26815/#comment97404>

    s/Do/Did/
    
    We should also mention how to initialize the log. Perhaps point them to the log tool and parameters?


- Vinod Kone


On Oct. 16, 2014, 6:22 p.m., Jie Yu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26815/
> -----------------------------------------------------------
> 
> (Updated Oct. 16, 2014, 6:22 p.m.)
> 
> 
> Review request for mesos, Ben Mahler, Vinod Kone, and Bill Farner.
> 
> 
> Bugs: MESOS-1703
>     https://issues.apache.org/jira/browse/MESOS-1703
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> See ticket for details.
> 
> 
> Diffs
> -----
> 
>   src/log/recover.cpp 2013e9193fc53c769ec6815d769cdf8a565a8c5c 
> 
> Diff: https://reviews.apache.org/r/26815/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>


Re: Review Request 26815: Added a advisory message reminding the user to initialize the log.

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



src/log/recover.cpp
<https://reviews.apache.org/r/26815/#comment97409>

    Hm.. should we say that all replicas are not initialized and that it needs to be run on each host?
    
    It looks like they might run `mesos-log initialize` on only one host per this message, and then never see this warning again?


- Ben Mahler


On Oct. 16, 2014, 6:39 p.m., Jie Yu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26815/
> -----------------------------------------------------------
> 
> (Updated Oct. 16, 2014, 6:39 p.m.)
> 
> 
> Review request for mesos, Ben Mahler, Vinod Kone, and Bill Farner.
> 
> 
> Bugs: MESOS-1703
>     https://issues.apache.org/jira/browse/MESOS-1703
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> See ticket for details.
> 
> 
> Diffs
> -----
> 
>   src/log/recover.cpp 2013e9193fc53c769ec6815d769cdf8a565a8c5c 
> 
> Diff: https://reviews.apache.org/r/26815/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>


Re: Review Request 26815: Added a advisory message reminding the user to initialize the log.

Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26815/#review56971
-----------------------------------------------------------

Ship it!


Ship It!

- Vinod Kone


On Oct. 16, 2014, 6:39 p.m., Jie Yu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26815/
> -----------------------------------------------------------
> 
> (Updated Oct. 16, 2014, 6:39 p.m.)
> 
> 
> Review request for mesos, Ben Mahler, Vinod Kone, and Bill Farner.
> 
> 
> Bugs: MESOS-1703
>     https://issues.apache.org/jira/browse/MESOS-1703
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> See ticket for details.
> 
> 
> Diffs
> -----
> 
>   src/log/recover.cpp 2013e9193fc53c769ec6815d769cdf8a565a8c5c 
> 
> Diff: https://reviews.apache.org/r/26815/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>


Re: Review Request 26815: Added a advisory message reminding the user to initialize the log.

Posted by Bill Farner <wf...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26815/#review56972
-----------------------------------------------------------

Ship it!


Thank!!

- Bill Farner


On Oct. 16, 2014, 6:39 p.m., Jie Yu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26815/
> -----------------------------------------------------------
> 
> (Updated Oct. 16, 2014, 6:39 p.m.)
> 
> 
> Review request for mesos, Ben Mahler, Vinod Kone, and Bill Farner.
> 
> 
> Bugs: MESOS-1703
>     https://issues.apache.org/jira/browse/MESOS-1703
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> See ticket for details.
> 
> 
> Diffs
> -----
> 
>   src/log/recover.cpp 2013e9193fc53c769ec6815d769cdf8a565a8c5c 
> 
> Diff: https://reviews.apache.org/r/26815/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>


Re: Review Request 26815: Added a advisory message reminding the user to initialize the log.

Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26815/#review57018
-----------------------------------------------------------


Patch looks great!

Reviews applied: [26815]

All tests passed.

- Mesos ReviewBot


On Oct. 16, 2014, 7:11 p.m., Jie Yu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26815/
> -----------------------------------------------------------
> 
> (Updated Oct. 16, 2014, 7:11 p.m.)
> 
> 
> Review request for mesos, Ben Mahler, Vinod Kone, and Bill Farner.
> 
> 
> Bugs: MESOS-1703
>     https://issues.apache.org/jira/browse/MESOS-1703
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> See ticket for details.
> 
> 
> Diffs
> -----
> 
>   src/log/recover.cpp 2013e9193fc53c769ec6815d769cdf8a565a8c5c 
> 
> Diff: https://reviews.apache.org/r/26815/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>


Re: Review Request 26815: Added a advisory message reminding the user to initialize the log.

Posted by Jie Yu <yu...@gmail.com>.

> On Oct. 16, 2014, 9:58 p.m., Jay Buffington wrote:
> > src/log/recover.cpp, lines 298-302
> > <https://reviews.apache.org/r/26815/diff/3/?file=723145#file723145line298>
> >
> >     You missed --path:
> >         mesos-log initialize --path=<PATH>

I've committed a fix.


- Jie


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


On Oct. 16, 2014, 7:11 p.m., Jie Yu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26815/
> -----------------------------------------------------------
> 
> (Updated Oct. 16, 2014, 7:11 p.m.)
> 
> 
> Review request for mesos, Ben Mahler, Vinod Kone, and Bill Farner.
> 
> 
> Bugs: MESOS-1703
>     https://issues.apache.org/jira/browse/MESOS-1703
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> See ticket for details.
> 
> 
> Diffs
> -----
> 
>   src/log/recover.cpp 2013e9193fc53c769ec6815d769cdf8a565a8c5c 
> 
> Diff: https://reviews.apache.org/r/26815/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>


Re: Review Request 26815: Added a advisory message reminding the user to initialize the log.

Posted by Jay Buffington <me...@jaybuff.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26815/#review57016
-----------------------------------------------------------



src/log/recover.cpp
<https://reviews.apache.org/r/26815/#comment97455>

    You missed --path:
        mesos-log initialize --path=<PATH>


- Jay Buffington


On Oct. 16, 2014, 7:11 p.m., Jie Yu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26815/
> -----------------------------------------------------------
> 
> (Updated Oct. 16, 2014, 7:11 p.m.)
> 
> 
> Review request for mesos, Ben Mahler, Vinod Kone, and Bill Farner.
> 
> 
> Bugs: MESOS-1703
>     https://issues.apache.org/jira/browse/MESOS-1703
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> See ticket for details.
> 
> 
> Diffs
> -----
> 
>   src/log/recover.cpp 2013e9193fc53c769ec6815d769cdf8a565a8c5c 
> 
> Diff: https://reviews.apache.org/r/26815/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>


Re: Review Request 26815: Added a advisory message reminding the user to initialize the log.

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

Ship it!



src/log/recover.cpp
<https://reviews.apache.org/r/26815/#comment97411>

    Great! Maybe wrap it with a header / footer since it is advisory?
    
    ```
    ------------------------------------------------
    Blah blah blah
    ------------------------------------------------
    ```


- Ben Mahler


On Oct. 16, 2014, 7:11 p.m., Jie Yu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26815/
> -----------------------------------------------------------
> 
> (Updated Oct. 16, 2014, 7:11 p.m.)
> 
> 
> Review request for mesos, Ben Mahler, Vinod Kone, and Bill Farner.
> 
> 
> Bugs: MESOS-1703
>     https://issues.apache.org/jira/browse/MESOS-1703
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> See ticket for details.
> 
> 
> Diffs
> -----
> 
>   src/log/recover.cpp 2013e9193fc53c769ec6815d769cdf8a565a8c5c 
> 
> Diff: https://reviews.apache.org/r/26815/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>


Re: Review Request 26815: Added a advisory message reminding the user to initialize the log.

Posted by Jie Yu <yu...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26815/
-----------------------------------------------------------

(Updated Oct. 16, 2014, 7:11 p.m.)


Review request for mesos, Ben Mahler, Vinod Kone, and Bill Farner.


Changes
-------

Review comments.


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


Repository: mesos-git


Description
-------

See ticket for details.


Diffs (updated)
-----

  src/log/recover.cpp 2013e9193fc53c769ec6815d769cdf8a565a8c5c 

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


Testing
-------

make check


Thanks,

Jie Yu


Re: Review Request 26815: Added a advisory message reminding the user to initialize the log.

Posted by Jie Yu <yu...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26815/
-----------------------------------------------------------

(Updated Oct. 16, 2014, 6:39 p.m.)


Review request for mesos, Ben Mahler, Vinod Kone, and Bill Farner.


Changes
-------

Review comments.


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


Repository: mesos-git


Description
-------

See ticket for details.


Diffs (updated)
-----

  src/log/recover.cpp 2013e9193fc53c769ec6815d769cdf8a565a8c5c 

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


Testing
-------

make check


Thanks,

Jie Yu


Re: Review Request 26815: Added a advisory message reminding the user to initialize the log.

Posted by Tobias Weingartner <tw...@twopensource.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26815/#review56964
-----------------------------------------------------------

Ship it!


I doubt my shipit counts... but looks good to me. :)

- Tobias Weingartner


On Oct. 16, 2014, 6:22 p.m., Jie Yu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26815/
> -----------------------------------------------------------
> 
> (Updated Oct. 16, 2014, 6:22 p.m.)
> 
> 
> Review request for mesos, Ben Mahler, Vinod Kone, and Bill Farner.
> 
> 
> Bugs: MESOS-1703
>     https://issues.apache.org/jira/browse/MESOS-1703
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> See ticket for details.
> 
> 
> Diffs
> -----
> 
>   src/log/recover.cpp 2013e9193fc53c769ec6815d769cdf8a565a8c5c 
> 
> Diff: https://reviews.apache.org/r/26815/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>