Re: Review Request 28920: Add support for docker containers to aurora

2015-01-22 Thread Bill Farner
On Jan. 22, 2015, 2:35 a.m., Kevin Sweeney wrote: docs/deploying-aurora-scheduler.md, line 163 https://reviews.apache.org/r/28920/diff/18/?file=823201#file823201line163 Philosophical question: if there's already a hard requirement that the container have Python 2.7 why not

Re: Review Request 30187: Remove support for cluster metadata in YAML format.

2015-01-22 Thread Brian Wickman
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30187/#review69269 --- I think we should leave the yaml code but drop the PyYAML

Re: Review Request 30187: Remove support for cluster metadata in YAML format.

2015-01-22 Thread Zameer Manji
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30187/#review69268 --- Ship it! Ship It! - Zameer Manji On Jan. 22, 2015, 1:09 p.m.,

Re: Review Request 30187: Remove support for cluster metadata in YAML format.

2015-01-22 Thread Bill Farner
On Jan. 22, 2015, 9:30 p.m., Brian Wickman wrote: I think we should leave the yaml code but drop the PyYAML dependency from the client requirements. (And inject it into the test -- possibly one test with and one test without to make sure the try/except also functions correctly.) I

Re: Review Request 29464: Add option to override local scheduler address published into ZooKeeper

2015-01-22 Thread Bill Farner
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29464/#review69276 --- Ping - Kevin? - Bill Farner On Jan. 8, 2015, 5:25 p.m., Steve

Re: Review Request 30187: Remove support for cluster metadata in YAML format.

2015-01-22 Thread Zameer Manji
On Jan. 22, 2015, 1:30 p.m., Brian Wickman wrote: I think we should leave the yaml code but drop the PyYAML dependency from the client requirements. (And inject it into the test -- possibly one test with and one test without to make sure the try/except also functions correctly.) I

Re: Review Request 30187: Remove support for cluster metadata in YAML format.

2015-01-22 Thread Joshua Cohen
On Jan. 22, 2015, 9:30 p.m., Brian Wickman wrote: I think we should leave the yaml code but drop the PyYAML dependency from the client requirements. (And inject it into the test -- possibly one test with and one test without to make sure the try/except also functions correctly.) I

Re: Review Request 28920: Add support for docker containers to aurora

2015-01-22 Thread Brian Wickman
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28920/#review69282 --- src/main/python/apache/thermos/core/runner.py

Re: Review Request 28920: Add support for docker containers to aurora

2015-01-22 Thread Steve Niemitz
On Jan. 22, 2015, 2:35 a.m., Kevin Sweeney wrote: docs/deploying-aurora-scheduler.md, line 163 https://reviews.apache.org/r/28920/diff/18/?file=823201#file823201line163 Philosophical question: if there's already a hard requirement that the container have Python 2.7 why not

Re: Review Request 28920: Add support for docker containers to aurora

2015-01-22 Thread Steve Niemitz
On Jan. 22, 2015, 10:22 p.m., Brian Wickman wrote: src/main/python/apache/thermos/core/runner.py, lines 627-632 https://reviews.apache.org/r/28920/diff/18/?file=823218#file823218line627 this is an abstraction leak. grep the thermos codebase for 'aurora' and 'mesos'. thermos

Re: Review Request 28920: Add support for docker containers to aurora

2015-01-22 Thread Brian Wickman
On Jan. 22, 2015, 10:22 p.m., Brian Wickman wrote: src/main/python/apache/thermos/core/runner.py, lines 627-632 https://reviews.apache.org/r/28920/diff/18/?file=823218#file823218line627 this is an abstraction leak. grep the thermos codebase for 'aurora' and 'mesos'. thermos

Review Request 30203: Fix impedance mismatch between offer matching and task launching.

2015-01-22 Thread Bill Farner
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30203/ --- Review request for Aurora, Maxim Khutornenko and Zameer Manji. Bugs:

Review Request 30204: Upgrade to rbt=0.7.0.

2015-01-22 Thread Bill Farner
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30204/ --- Review request for Aurora and Kevin Sweeney. Repository: aurora Description

Re: Review Request 30204: Upgrade to rbt=0.7.0.

2015-01-22 Thread Bill Farner
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30204/ --- (Updated Jan. 23, 2015, 2:11 a.m.) Review request for Aurora and Kevin

Re: Review Request 28920: Add support for docker containers to aurora

2015-01-22 Thread Jay Buffington
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28920/#review69333 ---

Re: Review Request 28920: Add support for docker containers to aurora

2015-01-22 Thread Steve Niemitz
On Jan. 23, 2015, 2:43 a.m., Jay Buffington wrote: src/main/java/org/apache/aurora/scheduler/mesos/MesosTaskFactory.java, line 294 https://reviews.apache.org/r/28920/diff/18/?file=823211#file823211line294 Can you set force_pull_image to true here. I can't imagine why you

Re: Review Request 30010: [AURORA-184] Remove hardcoded 'host' and 'rack' limit constraints

2015-01-22 Thread Florian Pfeiffer
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30010/ --- (Updated Jan. 23, 2015, 2:55 vorm.) Review request for Aurora, Bill Farner and

Review Request 30207: Simplify AuroraCommandContext

2015-01-22 Thread Zameer Manji
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30207/ --- Review request for Aurora, Maxim Khutornenko and Bill Farner. Repository:

Re: Review Request 30010: [AURORA-184] Remove hardcoded 'host' and 'rack' limit constraints

2015-01-22 Thread Aurora ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30010/#review69346 --- Master (3fa004b) is red with this patch.

Re: Review Request 28920: Add support for docker containers to aurora

2015-01-22 Thread Steve Niemitz
On Jan. 22, 2015, 10:42 p.m., Brian Wickman wrote: src/main/java/org/apache/aurora/scheduler/mesos/MesosTaskFactory.java, lines 153-158 https://reviews.apache.org/r/28920/diff/18/?file=823211#file823211line153 can't the stuff in DOCKER_COMMAND_PREFIX be accomplished with a

Re: Review Request 28920: Add support for docker containers to aurora

2015-01-22 Thread Kevin Sweeney
On Jan. 21, 2015, 6:35 p.m., Kevin Sweeney wrote: examples/vagrant/provision-dev-cluster.sh, line 17 https://reviews.apache.org/r/28920/diff/18/?file=823204#file823204line17 nit: sh -c indirection is unnecessary here. Steve Niemitz wrote: Eh, this is just copied from the

Re: Review Request 28920: Add support for docker containers to aurora

2015-01-22 Thread Brian Wickman
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28920/#review69288 ---

Re: Review Request 29464: Add option to override local scheduler address published into ZooKeeper

2015-01-22 Thread Kevin Sweeney
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29464/#review69306 --- Ship it! Ship It! - Kevin Sweeney On Jan. 8, 2015, 9:25 a.m.,

Re: Review Request 28920: Add support for docker containers to aurora

2015-01-22 Thread Brian Wickman
On Jan. 22, 2015, 10:42 p.m., Brian Wickman wrote: src/main/java/org/apache/aurora/scheduler/mesos/MesosTaskFactory.java, lines 153-158 https://reviews.apache.org/r/28920/diff/18/?file=823211#file823211line153 can't the stuff in DOCKER_COMMAND_PREFIX be accomplished with a

Re: Review Request 28920: Add support for docker containers to aurora

2015-01-22 Thread Steve Niemitz
On Jan. 22, 2015, 10:42 p.m., Brian Wickman wrote: src/main/java/org/apache/aurora/scheduler/mesos/MesosTaskFactory.java, lines 153-158 https://reviews.apache.org/r/28920/diff/18/?file=823211#file823211line153 can't the stuff in DOCKER_COMMAND_PREFIX be accomplished with a

Re: Review Request 30178: Avoid performing RPC authentication while holding the write lock.

2015-01-22 Thread Aurora ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30178/#review69236 --- Ship it! Master (116ee2d) is green with this patch.

Re: Review Request 30178: Avoid performing RPC authentication while holding the write lock.

2015-01-22 Thread Bill Farner
On Jan. 22, 2015, 7:43 p.m., Kevin Sweeney wrote: We've explored this in the past, but how about moving the authentication code to a decorator class and delegating the behavior-once-authenticated. Maxim Khutornenko wrote: We have a TODO tracking this: ``` // TODO(Sathya):

Review Request 30178: Avoid performing RPC authentication while holding the write lock.

2015-01-22 Thread Bill Farner
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30178/ --- Review request for Aurora and Kevin Sweeney. Repository: aurora Description

Re: Review Request 30178: Avoid performing RPC authentication while holding the write lock.

2015-01-22 Thread Kevin Sweeney
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30178/#review69232 --- We've explored this in the past, but how about moving the

Re: Review Request 30178: Avoid performing RPC authentication while holding the write lock.

2015-01-22 Thread Maxim Khutornenko
On Jan. 22, 2015, 7:43 p.m., Kevin Sweeney wrote: We've explored this in the past, but how about moving the authentication code to a decorator class and delegating the behavior-once-authenticated. We have a TODO tracking this: ``` // TODO(Sathya): Remove this after AOP-style session

Re: Review Request 30178: Avoid performing RPC authentication while holding the write lock.

2015-01-22 Thread Kevin Sweeney
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30178/#review69243 --- Ship it! Ship It! - Kevin Sweeney On Jan. 22, 2015, 11:25 a.m.,

Re: Review Request 30178: Avoid performing RPC authentication while holding the write lock.

2015-01-22 Thread Bill Farner
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30178/ --- (Updated Jan. 22, 2015, 7:25 p.m.) Review request for Aurora, Kevin Sweeney

Re: Review Request 30178: Avoid performing RPC authentication while holding the write lock.

2015-01-22 Thread Maxim Khutornenko
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30178/#review69231 --- Ship it!

Re: Review Request 30178: Avoid performing RPC authentication while holding the write lock.

2015-01-22 Thread Bill Farner
On Jan. 22, 2015, 7:38 p.m., Maxim Khutornenko wrote: src/main/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterface.java, line 711 https://reviews.apache.org/r/30178/diff/1/?file=830099#file830099line711 This is only used in one place, inline? I pulled this out

Re: Review Request 30178: Avoid performing RPC authentication while holding the write lock.

2015-01-22 Thread Kevin Sweeney
On Jan. 22, 2015, 11:43 a.m., Kevin Sweeney wrote: We've explored this in the past, but how about moving the authentication code to a decorator class and delegating the behavior-once-authenticated. Maxim Khutornenko wrote: We have a TODO tracking this: ``` //

Re: Review Request 30178: Avoid performing RPC authentication while holding the write lock.

2015-01-22 Thread Bill Farner
On Jan. 22, 2015, 7:43 p.m., Kevin Sweeney wrote: We've explored this in the past, but how about moving the authentication code to a decorator class and delegating the behavior-once-authenticated. Maxim Khutornenko wrote: We have a TODO tracking this: ``` // TODO(Sathya):