You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@aurora.apache.org by Maxim Khutornenko <ma...@apache.org> on 2014/05/17 02:18:58 UTC
Review Request 21597: Return empty list instead of failing.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21597/
-----------------------------------------------------------
Review request for Aurora, Mark Chu-Carroll and Brian Wickman.
Bugs: AURORA-442
https://issues.apache.org/jira/browse/AURORA-442
Repository: aurora
Description
-------
Mistyped or unknown to scheduler hosts should not result in failing the SLA command.
Diffs
-----
src/main/python/apache/aurora/client/api/sla.py a20b5d46221981740e0b7d5f0958516560928b54
src/test/python/apache/aurora/client/api/test_sla.py 86b6775e51cab1214a6cae01145f19f08cc74499
Diff: https://reviews.apache.org/r/21597/diff/
Testing
-------
./pants src/test/python:all
Thanks,
Maxim Khutornenko
Re: Review Request 21597: Return empty list instead of failing.
Posted by Brian Wickman <wi...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21597/#review43799
-----------------------------------------------------------
Ship it!
Ship It!
- Brian Wickman
On May 21, 2014, 4:05 p.m., Maxim Khutornenko wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/21597/
> -----------------------------------------------------------
>
> (Updated May 21, 2014, 4:05 p.m.)
>
>
> Review request for Aurora, Mark Chu-Carroll and Brian Wickman.
>
>
> Bugs: AURORA-442
> https://issues.apache.org/jira/browse/AURORA-442
>
>
> Repository: aurora
>
>
> Description
> -------
>
> Mistyped or unknown to scheduler hosts should not result in failing the SLA command.
>
>
> Diffs
> -----
>
> src/main/python/apache/aurora/client/api/sla.py a20b5d46221981740e0b7d5f0958516560928b54
> src/main/python/apache/aurora/client/base.py 13730fd98e36377376e498f414dfb317d5b3b114
> src/test/python/apache/aurora/client/api/test_sla.py 86b6775e51cab1214a6cae01145f19f08cc74499
>
> Diff: https://reviews.apache.org/r/21597/diff/
>
>
> Testing
> -------
>
> ./pants src/test/python:all
>
>
> Thanks,
>
> Maxim Khutornenko
>
>
Re: Review Request 21597: Return empty list instead of failing.
Posted by Mark Chu-Carroll <mc...@twopensource.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21597/#review43634
-----------------------------------------------------------
Ship it!
Ship It!
- Mark Chu-Carroll
On May 21, 2014, 12:05 p.m., Maxim Khutornenko wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/21597/
> -----------------------------------------------------------
>
> (Updated May 21, 2014, 12:05 p.m.)
>
>
> Review request for Aurora, Mark Chu-Carroll and Brian Wickman.
>
>
> Bugs: AURORA-442
> https://issues.apache.org/jira/browse/AURORA-442
>
>
> Repository: aurora
>
>
> Description
> -------
>
> Mistyped or unknown to scheduler hosts should not result in failing the SLA command.
>
>
> Diffs
> -----
>
> src/main/python/apache/aurora/client/api/sla.py a20b5d46221981740e0b7d5f0958516560928b54
> src/main/python/apache/aurora/client/base.py 13730fd98e36377376e498f414dfb317d5b3b114
> src/test/python/apache/aurora/client/api/test_sla.py 86b6775e51cab1214a6cae01145f19f08cc74499
>
> Diff: https://reviews.apache.org/r/21597/diff/
>
>
> Testing
> -------
>
> ./pants src/test/python:all
>
>
> Thanks,
>
> Maxim Khutornenko
>
>
Re: Review Request 21597: Return empty list instead of failing.
Posted by Maxim Khutornenko <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21597/
-----------------------------------------------------------
(Updated May 21, 2014, 4:05 p.m.)
Review request for Aurora, Mark Chu-Carroll and Brian Wickman.
Changes
-------
CR comments.
Bugs: AURORA-442
https://issues.apache.org/jira/browse/AURORA-442
Repository: aurora
Description
-------
Mistyped or unknown to scheduler hosts should not result in failing the SLA command.
Diffs (updated)
-----
src/main/python/apache/aurora/client/api/sla.py a20b5d46221981740e0b7d5f0958516560928b54
src/main/python/apache/aurora/client/base.py 13730fd98e36377376e498f414dfb317d5b3b114
src/test/python/apache/aurora/client/api/test_sla.py 86b6775e51cab1214a6cae01145f19f08cc74499
Diff: https://reviews.apache.org/r/21597/diff/
Testing
-------
./pants src/test/python:all
Thanks,
Maxim Khutornenko
Re: Review Request 21597: Return empty list instead of failing.
Posted by Maxim Khutornenko <ma...@apache.org>.
> On May 21, 2014, 1:38 a.m., Mark Chu-Carroll wrote:
> > src/main/python/apache/aurora/client/base.py, line 47
> > <https://reviews.apache.org/r/21597/diff/2/?file=584355#file584355line47>
> >
> > Why are these split into multiple methods? The only place where "check_and_log_locked" is used is right here.
> >
Good question. The check_and_log_locked got refactored out in https://reviews.apache.org/r/16310 but was never removed. Fixing it now.
- Maxim
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21597/#review43569
-----------------------------------------------------------
On May 19, 2014, 5:58 p.m., Maxim Khutornenko wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/21597/
> -----------------------------------------------------------
>
> (Updated May 19, 2014, 5:58 p.m.)
>
>
> Review request for Aurora, Mark Chu-Carroll and Brian Wickman.
>
>
> Bugs: AURORA-442
> https://issues.apache.org/jira/browse/AURORA-442
>
>
> Repository: aurora
>
>
> Description
> -------
>
> Mistyped or unknown to scheduler hosts should not result in failing the SLA command.
>
>
> Diffs
> -----
>
> src/main/python/apache/aurora/client/api/sla.py a20b5d46221981740e0b7d5f0958516560928b54
> src/main/python/apache/aurora/client/base.py 13730fd98e36377376e498f414dfb317d5b3b114
> src/test/python/apache/aurora/client/api/test_sla.py 86b6775e51cab1214a6cae01145f19f08cc74499
>
> Diff: https://reviews.apache.org/r/21597/diff/
>
>
> Testing
> -------
>
> ./pants src/test/python:all
>
>
> Thanks,
>
> Maxim Khutornenko
>
>
Re: Review Request 21597: Return empty list instead of failing.
Posted by Mark Chu-Carroll <mc...@twopensource.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21597/#review43569
-----------------------------------------------------------
src/main/python/apache/aurora/client/base.py
<https://reviews.apache.org/r/21597/#comment77810>
Why are these split into multiple methods? The only place where "check_and_log_locked" is used is right here.
- Mark Chu-Carroll
On May 19, 2014, 1:58 p.m., Maxim Khutornenko wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/21597/
> -----------------------------------------------------------
>
> (Updated May 19, 2014, 1:58 p.m.)
>
>
> Review request for Aurora, Mark Chu-Carroll and Brian Wickman.
>
>
> Bugs: AURORA-442
> https://issues.apache.org/jira/browse/AURORA-442
>
>
> Repository: aurora
>
>
> Description
> -------
>
> Mistyped or unknown to scheduler hosts should not result in failing the SLA command.
>
>
> Diffs
> -----
>
> src/main/python/apache/aurora/client/api/sla.py a20b5d46221981740e0b7d5f0958516560928b54
> src/main/python/apache/aurora/client/base.py 13730fd98e36377376e498f414dfb317d5b3b114
> src/test/python/apache/aurora/client/api/test_sla.py 86b6775e51cab1214a6cae01145f19f08cc74499
>
> Diff: https://reviews.apache.org/r/21597/diff/
>
>
> Testing
> -------
>
> ./pants src/test/python:all
>
>
> Thanks,
>
> Maxim Khutornenko
>
>
Re: Review Request 21597: Return empty list instead of failing.
Posted by Maxim Khutornenko <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21597/
-----------------------------------------------------------
(Updated May 19, 2014, 5:58 p.m.)
Review request for Aurora, Mark Chu-Carroll and Brian Wickman.
Changes
-------
CR comments.
Bugs: AURORA-442
https://issues.apache.org/jira/browse/AURORA-442
Repository: aurora
Description
-------
Mistyped or unknown to scheduler hosts should not result in failing the SLA command.
Diffs (updated)
-----
src/main/python/apache/aurora/client/api/sla.py a20b5d46221981740e0b7d5f0958516560928b54
src/main/python/apache/aurora/client/base.py 13730fd98e36377376e498f414dfb317d5b3b114
src/test/python/apache/aurora/client/api/test_sla.py 86b6775e51cab1214a6cae01145f19f08cc74499
Diff: https://reviews.apache.org/r/21597/diff/
Testing
-------
./pants src/test/python:all
Thanks,
Maxim Khutornenko
Re: Review Request 21597: Return empty list instead of failing.
Posted by Maxim Khutornenko <ma...@apache.org>.
> On May 18, 2014, 7:08 p.m., Brian Wickman wrote:
> > src/main/python/apache/aurora/client/api/sla.py, lines 292-293
> > <https://reviews.apache.org/r/21597/diff/1/?file=583926#file583926line292>
> >
> > seems like we should have a log_response method instead of reimplementing here?
Sure, works for me.
- Maxim
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21597/#review43327
-----------------------------------------------------------
On May 17, 2014, 12:18 a.m., Maxim Khutornenko wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/21597/
> -----------------------------------------------------------
>
> (Updated May 17, 2014, 12:18 a.m.)
>
>
> Review request for Aurora, Mark Chu-Carroll and Brian Wickman.
>
>
> Bugs: AURORA-442
> https://issues.apache.org/jira/browse/AURORA-442
>
>
> Repository: aurora
>
>
> Description
> -------
>
> Mistyped or unknown to scheduler hosts should not result in failing the SLA command.
>
>
> Diffs
> -----
>
> src/main/python/apache/aurora/client/api/sla.py a20b5d46221981740e0b7d5f0958516560928b54
> src/test/python/apache/aurora/client/api/test_sla.py 86b6775e51cab1214a6cae01145f19f08cc74499
>
> Diff: https://reviews.apache.org/r/21597/diff/
>
>
> Testing
> -------
>
> ./pants src/test/python:all
>
>
> Thanks,
>
> Maxim Khutornenko
>
>
Re: Review Request 21597: Return empty list instead of failing.
Posted by Brian Wickman <wi...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21597/#review43327
-----------------------------------------------------------
src/main/python/apache/aurora/client/api/sla.py
<https://reviews.apache.org/r/21597/#comment77427>
seems like we should have a log_response method instead of reimplementing here?
- Brian Wickman
On May 17, 2014, 12:18 a.m., Maxim Khutornenko wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/21597/
> -----------------------------------------------------------
>
> (Updated May 17, 2014, 12:18 a.m.)
>
>
> Review request for Aurora, Mark Chu-Carroll and Brian Wickman.
>
>
> Bugs: AURORA-442
> https://issues.apache.org/jira/browse/AURORA-442
>
>
> Repository: aurora
>
>
> Description
> -------
>
> Mistyped or unknown to scheduler hosts should not result in failing the SLA command.
>
>
> Diffs
> -----
>
> src/main/python/apache/aurora/client/api/sla.py a20b5d46221981740e0b7d5f0958516560928b54
> src/test/python/apache/aurora/client/api/test_sla.py 86b6775e51cab1214a6cae01145f19f08cc74499
>
> Diff: https://reviews.apache.org/r/21597/diff/
>
>
> Testing
> -------
>
> ./pants src/test/python:all
>
>
> Thanks,
>
> Maxim Khutornenko
>
>