You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@aurora.apache.org by Santhosh Kumar Shanmugham <sa...@gmail.com> on 2017/02/15 02:57:28 UTC
Re: Review Request 55951: Use --launch_info when invoking
MesosContainerizer.
> On Jan. 25, 2017, 1:07 p.m., Stephan Erb wrote:
> > The code change itself is fine. However, it's implications are a little bit horrible :)
> >
> > * We can only apply it once we have released 0.17 (build against Mesos 1.1)
> > * Mesos broke +-1 version compatibility here, so users have to update to Thermos 0.18 (i.e. this patch) and Mesos 1.2 at the exact same time.
> >
> > I feel like we should escalate this and ask the Mesos people if they are willing to re-establish compatibility for one version.
>
> Santhosh Kumar Shanmugham wrote:
> I am in agreement. I will ping the Mesos folks to find out if they can rollout the change via a deprecation cycle.
>
> Santhosh Kumar Shanmugham wrote:
> Capturing the outcome from the conversation with the Mesos folks.
>
> MesosContainerizer is considered internal to Mesos and hence will not follow a deprecation cycle. We need an alternative approach here.
Okay. The binary does not support a `version` switch, so we will perform a `launch` command without arguments to determine the interface to the binary and choose our path accordingly. We will need to have this ugly check until we can migrate +1 version of Mesos, after which we can drop this or move to Pod API.
- Santhosh Kumar
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/55951/#review163018
-----------------------------------------------------------
On Jan. 25, 2017, 11:02 a.m., Santhosh Kumar Shanmugham wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/55951/
> -----------------------------------------------------------
>
> (Updated Jan. 25, 2017, 11:02 a.m.)
>
>
> Review request for Aurora, Joshua Cohen, Stephan Erb, and Karthik Anantha Padmanabhan.
>
>
> Bugs: AURORA-1882
> https://issues.apache.org/jira/browse/AURORA-1882
>
>
> Repository: aurora
>
>
> Description
> -------
>
> MesosContainerizer has updated the command line parameters and
> consolidated the individual arguments into a single ContainerLaunchInfo
> proto buf message. Update ThermosExecutor to use the new `--launch_info`
> parameter to be compatible with MesosContainerizer.
>
>
> Diffs
> -----
>
> build-support/packer/build.sh 548cf37e097c6ed56fc6cc718a642b105afb9331
> src/main/python/apache/thermos/common/process_util.py 54e716b726fc02f3901f1b9143d3fa253511e29b
> src/test/python/apache/thermos/core/test_process.py 520390217f691b9136cb4d36262be3d372a16509
>
> Diff: https://reviews.apache.org/r/55951/diff/
>
>
> Testing
> -------
>
> build-support/jenkins/build.sh
>
> TBD: End-to-end test needs Mesos 1.2.0 which has not been released?
>
>
> Thanks,
>
> Santhosh Kumar Shanmugham
>
>