Re: Review Request 64472: Improved the logging in `StatusUpdateManagerProcess`.

2017-12-11 Thread Gaston Kleiman

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

(Updated Dec. 11, 2017, 1:36 p.m.)


Review request for mesos and Greg Mann.


Changes
---

Addressed feedback.


Repository: mesos


Description
---

This patch adds to the log and error messages the type of status update
handled by the instance of `StatusUpdateManagerProcess`.


Diffs (updated)
-

  src/status_update_manager/offer_operation.cpp 
f66690eadc0d7b16cc7de1b518904db2cab7ef82 
  src/status_update_manager/status_update_manager_process.hpp 
1ac64410594134ce3e709d396d0a74a3d0aa2007 


Diff: https://reviews.apache.org/r/64472/diff/2/

Changes: https://reviews.apache.org/r/64472/diff/1-2/


Testing
---

`GLOG_v=1 bin/mesos-tests.sh 
--gtest_filter="*OfferOperationStatusUpdateManagerTest*" --verbose` on GNU/Linux


Thanks,

Gaston Kleiman



Re: Review Request 64472: Improved the logging in `StatusUpdateManagerProcess`.

2017-12-11 Thread Gaston Kleiman


> On Dec. 11, 2017, 8:38 a.m., Greg Mann wrote:
> > src/status_update_manager/status_update_manager_process.hpp
> > Line 112 (original), 112 (patched)
> > 
> >
> > Let's make the process ID "offer-operation-status-update-manager".

I made the process ID configurable, see: https://reviews.apache.org/r/64509/


- Gaston


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


On Dec. 11, 2017, 1:36 p.m., Gaston Kleiman wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/64472/
> ---
> 
> (Updated Dec. 11, 2017, 1:36 p.m.)
> 
> 
> Review request for mesos and Greg Mann.
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> This patch adds to the log and error messages the type of status update
> handled by the instance of `StatusUpdateManagerProcess`.
> 
> 
> Diffs
> -
> 
>   src/status_update_manager/offer_operation.cpp 
> f66690eadc0d7b16cc7de1b518904db2cab7ef82 
>   src/status_update_manager/status_update_manager_process.hpp 
> 1ac64410594134ce3e709d396d0a74a3d0aa2007 
> 
> 
> Diff: https://reviews.apache.org/r/64472/diff/2/
> 
> 
> Testing
> ---
> 
> `GLOG_v=1 bin/mesos-tests.sh 
> --gtest_filter="*OfferOperationStatusUpdateManagerTest*" --verbose` on 
> GNU/Linux
> 
> 
> Thanks,
> 
> Gaston Kleiman
> 
>



Re: Review Request 64472: Improved the logging in `StatusUpdateManagerProcess`.

2017-12-11 Thread Greg Mann


> On Dec. 11, 2017, 4:38 p.m., Greg Mann wrote:
> > src/status_update_manager/status_update_manager_process.hpp
> > Line 112 (original), 112 (patched)
> > 
> >
> > Let's make the process ID "offer-operation-status-update-manager".
> 
> Gaston Kleiman wrote:
> I made the process ID configurable, see: 
> https://reviews.apache.org/r/64509/

Thanks!!! :)


- Greg


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


On Dec. 11, 2017, 9:36 p.m., Gaston Kleiman wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/64472/
> ---
> 
> (Updated Dec. 11, 2017, 9:36 p.m.)
> 
> 
> Review request for mesos and Greg Mann.
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> This patch adds to the log and error messages the type of status update
> handled by the instance of `StatusUpdateManagerProcess`.
> 
> 
> Diffs
> -
> 
>   src/status_update_manager/offer_operation.cpp 
> f66690eadc0d7b16cc7de1b518904db2cab7ef82 
>   src/status_update_manager/status_update_manager_process.hpp 
> 1ac64410594134ce3e709d396d0a74a3d0aa2007 
> 
> 
> Diff: https://reviews.apache.org/r/64472/diff/2/
> 
> 
> Testing
> ---
> 
> `GLOG_v=1 bin/mesos-tests.sh 
> --gtest_filter="*OfferOperationStatusUpdateManagerTest*" --verbose` on 
> GNU/Linux
> 
> 
> Thanks,
> 
> Gaston Kleiman
> 
>



Re: Review Request 64472: Improved the logging in `StatusUpdateManagerProcess`.

2017-12-11 Thread Greg Mann

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


Fix it, then Ship it!





src/status_update_manager/offer_operation.cpp
Lines 38-40 (original), 38-41 (patched)


Indent two more spaces.



src/status_update_manager/status_update_manager_process.hpp
Line 112 (original), 112 (patched)


Let's make the process ID "offer-operation-status-update-manager".



src/status_update_manager/status_update_manager_process.hpp
Line 382 (original), 387 (patched)


Kind of strange that the logging above is INFO and this is WARNING. I feel 
like this should be LOG(INFO)?



src/status_update_manager/status_update_manager_process.hpp
Line 594 (original), 609 (patched)


Remove this period.



src/status_update_manager/status_update_manager_process.hpp
Line 916 (original), 934 (patched)


s/Failed to/Failed to write to file/


- Greg Mann


On Dec. 9, 2017, 12:25 a.m., Gaston Kleiman wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/64472/
> ---
> 
> (Updated Dec. 9, 2017, 12:25 a.m.)
> 
> 
> Review request for mesos and Greg Mann.
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> This patch adds to the log and error messages the type of status update
> handled by the instance of `StatusUpdateManagerProcess`.
> 
> 
> Diffs
> -
> 
>   src/status_update_manager/offer_operation.cpp 
> f66690eadc0d7b16cc7de1b518904db2cab7ef82 
>   src/status_update_manager/status_update_manager_process.hpp 
> 1ac64410594134ce3e709d396d0a74a3d0aa2007 
> 
> 
> Diff: https://reviews.apache.org/r/64472/diff/1/
> 
> 
> Testing
> ---
> 
> `GLOG_v=1 bin/mesos-tests.sh 
> --gtest_filter="*OfferOperationStatusUpdateManagerTest*" --verbose` on 
> GNU/Linux
> 
> 
> Thanks,
> 
> Gaston Kleiman
> 
>



Review Request 64472: Improved the logging in `StatusUpdateManagerProcess`.

2017-12-08 Thread Gaston Kleiman

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

Review request for mesos and Greg Mann.


Repository: mesos


Description
---

This patch adds to the log and error messages the type of status update
handled by the instance of `StatusUpdateManagerProcess`.


Diffs
-

  src/status_update_manager/offer_operation.cpp 
f66690eadc0d7b16cc7de1b518904db2cab7ef82 
  src/status_update_manager/status_update_manager_process.hpp 
1ac64410594134ce3e709d396d0a74a3d0aa2007 


Diff: https://reviews.apache.org/r/64472/diff/1/


Testing
---

`GLOG_v=1 bin/mesos-tests.sh 
--gtest_filter="*OfferOperationStatusUpdateManagerTest*" --verbose` on GNU/Linux


Thanks,

Gaston Kleiman