Re: Review Request 40056: Make hook execution order deterministic.

2015-12-09 Thread Guangya Liu

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

Ship it!


Ship It!

- Guangya Liu


On 十二月 9, 2015, 5:25 p.m., haosdent huang wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40056/
> ---
> 
> (Updated 十二月 9, 2015, 5:25 p.m.)
> 
> 
> Review request for mesos, Ben Mahler, Kapil Arya, and Niklas Nielsen.
> 
> 
> Bugs: MESOS-3485
> https://issues.apache.org/jira/browse/MESOS-3485
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Make hook execution order deterministic.
> 
> 
> Diffs
> -
> 
>   src/hook/manager.cpp efbb02561afbabcc451aafdcf204b1fe478f2677 
> 
> Diff: https://reviews.apache.org/r/40056/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> haosdent huang
> 
>



Re: Review Request 40056: Make hook execution order deterministic.

2015-12-09 Thread Mesos ReviewBot

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


Patch looks great!

Reviews applied: [40056]

Passed command: export OS=ubuntu:14.04;export CONFIGURATION="--verbose";export 
COMPILER=gcc; ./support/docker_build.sh

- Mesos ReviewBot


On Dec. 9, 2015, 5:25 p.m., haosdent huang wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40056/
> ---
> 
> (Updated Dec. 9, 2015, 5:25 p.m.)
> 
> 
> Review request for mesos, Ben Mahler, Kapil Arya, and Niklas Nielsen.
> 
> 
> Bugs: MESOS-3485
> https://issues.apache.org/jira/browse/MESOS-3485
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Make hook execution order deterministic.
> 
> 
> Diffs
> -
> 
>   src/hook/manager.cpp efbb02561afbabcc451aafdcf204b1fe478f2677 
> 
> Diff: https://reviews.apache.org/r/40056/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> haosdent huang
> 
>



Re: Review Request 40056: Make hook execution order deterministic.

2015-12-09 Thread haosdent huang


> On Dec. 4, 2015, 9:15 p.m., Niklas Nielsen wrote:
> > Hi Haosdent!
> > 
> > I apologize the tardy reply. The patch looks good but needs rebasing.
> > Also, have you thought of a way to test this?
> > 
> > With a test (maybe by just ensuring the existing ordering of the test 
> > modules are indeed run in order), we should be able to land this. Kapil, 
> > any concerns on this?
> 
> Guangya Liu wrote:
> @nnielsen, does this test help? Thanks! 
> https://github.com/apache/mesos/blob/master/3rdparty/libprocess/3rdparty/stout/tests/linkedhashmap_tests.cpp#L93-L106
> 
> Niklas Nielsen wrote:
> That should be fine - rebase and let's get it in. (Kapil, any objections?)

Thx @gyliu and @nnielsen, let me rebase.


- haosdent


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


On Dec. 9, 2015, 5:25 p.m., haosdent huang wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40056/
> ---
> 
> (Updated Dec. 9, 2015, 5:25 p.m.)
> 
> 
> Review request for mesos, Ben Mahler, Kapil Arya, and Niklas Nielsen.
> 
> 
> Bugs: MESOS-3485
> https://issues.apache.org/jira/browse/MESOS-3485
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Make hook execution order deterministic.
> 
> 
> Diffs
> -
> 
>   src/hook/manager.cpp efbb02561afbabcc451aafdcf204b1fe478f2677 
> 
> Diff: https://reviews.apache.org/r/40056/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> haosdent huang
> 
>



Re: Review Request 40056: Make hook execution order deterministic.

2015-12-09 Thread haosdent huang

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

(Updated Dec. 9, 2015, 5:25 p.m.)


Review request for mesos, Ben Mahler, Kapil Arya, and Niklas Nielsen.


Changes
---

Rebase


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


Repository: mesos


Description
---

Make hook execution order deterministic.


Diffs (updated)
-

  src/hook/manager.cpp efbb02561afbabcc451aafdcf204b1fe478f2677 

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


Testing
---


Thanks,

haosdent huang



Re: Review Request 40056: Make hook execution order deterministic.

2015-12-07 Thread Niklas Nielsen


> On Dec. 4, 2015, 1:15 p.m., Niklas Nielsen wrote:
> > Hi Haosdent!
> > 
> > I apologize the tardy reply. The patch looks good but needs rebasing.
> > Also, have you thought of a way to test this?
> > 
> > With a test (maybe by just ensuring the existing ordering of the test 
> > modules are indeed run in order), we should be able to land this. Kapil, 
> > any concerns on this?
> 
> Guangya Liu wrote:
> @nnielsen, does this test help? Thanks! 
> https://github.com/apache/mesos/blob/master/3rdparty/libprocess/3rdparty/stout/tests/linkedhashmap_tests.cpp#L93-L106

That should be fine - rebase and let's get it in. (Kapil, any objections?)


- Niklas


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


On Nov. 8, 2015, 4:58 a.m., haosdent huang wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40056/
> ---
> 
> (Updated Nov. 8, 2015, 4:58 a.m.)
> 
> 
> Review request for mesos, Ben Mahler, Kapil Arya, and Niklas Nielsen.
> 
> 
> Bugs: MESOS-3485
> https://issues.apache.org/jira/browse/MESOS-3485
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Make hook execution order deterministic.
> 
> 
> Diffs
> -
> 
>   src/hook/manager.cpp d9e660a3b6f6d13d9f6b59f53bfc8a4f65af6df4 
> 
> Diff: https://reviews.apache.org/r/40056/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> haosdent huang
> 
>



Re: Review Request 40056: Make hook execution order deterministic.

2015-12-06 Thread Guangya Liu


> On 十二月 4, 2015, 9:15 p.m., Niklas Nielsen wrote:
> > Hi Haosdent!
> > 
> > I apologize the tardy reply. The patch looks good but needs rebasing.
> > Also, have you thought of a way to test this?
> > 
> > With a test (maybe by just ensuring the existing ordering of the test 
> > modules are indeed run in order), we should be able to land this. Kapil, 
> > any concerns on this?

@nnielsen, does this test help? Thanks! 
https://github.com/apache/mesos/blob/master/3rdparty/libprocess/3rdparty/stout/tests/linkedhashmap_tests.cpp#L93-L106


- Guangya


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


On 十一月 8, 2015, 12:58 p.m., haosdent huang wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40056/
> ---
> 
> (Updated 十一月 8, 2015, 12:58 p.m.)
> 
> 
> Review request for mesos, Ben Mahler, Kapil Arya, and Niklas Nielsen.
> 
> 
> Bugs: MESOS-3485
> https://issues.apache.org/jira/browse/MESOS-3485
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Make hook execution order deterministic.
> 
> 
> Diffs
> -
> 
>   src/hook/manager.cpp d9e660a3b6f6d13d9f6b59f53bfc8a4f65af6df4 
> 
> Diff: https://reviews.apache.org/r/40056/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> haosdent huang
> 
>



Re: Review Request 40056: Make hook execution order deterministic.

2015-12-04 Thread Niklas Nielsen

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


Hi Haosdent!

I apologize the tardy reply. The patch looks good but needs rebasing.
Also, have you thought of a way to test this?

With a test (maybe by just ensuring the existing ordering of the test modules 
are indeed run in order), we should be able to land this. Kapil, any concerns 
on this?

- Niklas Nielsen


On Nov. 8, 2015, 4:58 a.m., haosdent huang wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40056/
> ---
> 
> (Updated Nov. 8, 2015, 4:58 a.m.)
> 
> 
> Review request for mesos, Ben Mahler, Kapil Arya, and Niklas Nielsen.
> 
> 
> Bugs: MESOS-3485
> https://issues.apache.org/jira/browse/MESOS-3485
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Make hook execution order deterministic.
> 
> 
> Diffs
> -
> 
>   src/hook/manager.cpp d9e660a3b6f6d13d9f6b59f53bfc8a4f65af6df4 
> 
> Diff: https://reviews.apache.org/r/40056/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> haosdent huang
> 
>



Re: Review Request 40056: Make hook execution order deterministic.

2015-11-08 Thread Mesos ReviewBot

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


Bad patch!

Reviews applied: [40056]

Failed command: ./support/apply-review.sh -n -r 40056

Error:
 2015-11-08 13:03:54 URL:https://reviews.apache.org/r/40056/diff/raw/ 
[4469/4469] -> "40056.patch" [1]
error: patch failed: src/hook/manager.cpp:135
error: src/hook/manager.cpp: patch does not apply
Failed to apply patch

- Mesos ReviewBot


On Nov. 8, 2015, 12:58 p.m., haosdent huang wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40056/
> ---
> 
> (Updated Nov. 8, 2015, 12:58 p.m.)
> 
> 
> Review request for mesos, Ben Mahler, Kapil Arya, and Niklas Nielsen.
> 
> 
> Bugs: MESOS-3485
> https://issues.apache.org/jira/browse/MESOS-3485
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Make hook execution order deterministic.
> 
> 
> Diffs
> -
> 
>   src/hook/manager.cpp d9e660a3b6f6d13d9f6b59f53bfc8a4f65af6df4 
> 
> Diff: https://reviews.apache.org/r/40056/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> haosdent huang
> 
>



Review Request 40056: Make hook execution order deterministic.

2015-11-08 Thread haosdent huang

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

Review request for mesos, Ben Mahler and Kapil Arya.


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


Repository: mesos


Description
---

Make hook execution order deterministic.


Diffs
-

  src/hook/manager.cpp d9e660a3b6f6d13d9f6b59f53bfc8a4f65af6df4 

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


Testing
---


Thanks,

haosdent huang