Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6BEA3200C09 for ; Wed, 25 Jan 2017 20:21:42 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 673B2160B4E; Wed, 25 Jan 2017 19:21:42 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B274E160B3D for ; Wed, 25 Jan 2017 20:21:41 +0100 (CET) Received: (qmail 78517 invoked by uid 500); 25 Jan 2017 19:21:41 -0000 Mailing-List: contact reviews-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@aurora.apache.org Delivered-To: mailing list reviews@aurora.apache.org Received: (qmail 78494 invoked by uid 99); 25 Jan 2017 19:21:40 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2017 19:21:40 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 2C3C3317850; Wed, 25 Jan 2017 19:21:39 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============2885817030728344512==" MIME-Version: 1.0 Subject: Re: Review Request 55951: Use --launch_info when invoking MesosContainerizer. From: Joshua Cohen To: Joshua Cohen , Stephan Erb , Karthik Anantha Padmanabhan Cc: Santhosh Kumar Shanmugham , Aurora Date: Wed, 25 Jan 2017 19:21:39 -0000 Message-ID: <20170125192139.13409.70907@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Joshua Cohen X-ReviewGroup: Aurora X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/55951/ X-Sender: Joshua Cohen References: <20170125190244.13409.26804@reviews.apache.org> In-Reply-To: <20170125190244.13409.26804@reviews.apache.org> Reply-To: Joshua Cohen X-ReviewRequest-Repository: aurora archived-at: Wed, 25 Jan 2017 19:21:42 -0000 --===============2885817030728344512== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/55951/#review163003 ----------------------------------------------------------- build-support/packer/build.sh (line 20) This should probably be reverted? src/main/python/apache/thermos/common/process_util.py (lines 25 - 37) Rather than continuing to manually construct a json representation of a protobuf, we might want to look at just creating the actual `LaunchInfo` protobuf and converting it directly to json? I looked into this at one point, and it was problematic due to the version of the protobuf library we use (tied to the version in use by Mesos). I remember thinking the problem wasn't intractable though. Would you mind taking a swing at that now that the json object is more complex? - Joshua Cohen On Jan. 25, 2017, 7:02 p.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, 7:02 p.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 > > --===============2885817030728344512==--