Return-Path: X-Original-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07A5698BB for ; Tue, 27 Mar 2012 02:59:51 +0000 (UTC) Received: (qmail 86521 invoked by uid 500); 27 Mar 2012 02:59:50 -0000 Delivered-To: apmail-incubator-mesos-dev-archive@incubator.apache.org Received: (qmail 86490 invoked by uid 500); 27 Mar 2012 02:59:50 -0000 Mailing-List: contact mesos-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mesos-dev@incubator.apache.org Delivered-To: mailing list mesos-dev@incubator.apache.org Received: (qmail 86469 invoked by uid 99); 27 Mar 2012 02:59:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2012 02:59:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2012 02:59:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 01566348512 for ; Tue, 27 Mar 2012 02:59:29 +0000 (UTC) Date: Tue, 27 Mar 2012 02:59:29 +0000 (UTC) From: "jiraposter@reviews.apache.org (Commented) (JIRA)" To: mesos-dev@incubator.apache.org Message-ID: <476211330.21530.1332817169007.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <390731646.6915.1332483624550.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MESOS-171) Make CommandInfo 'uri' field be repeated, possibly making a URI embedded message to describe whether or not we should 'chmod +x' the resulting resource. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MESOS-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239134#comment-13239134 ] jiraposter@reviews.apache.org commented on MESOS-171: ----------------------------------------------------- ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4485/#review6396 ----------------------------------------------------------- Ship it! - Benjamin On 2012-03-27 02:14:27, Vinod Kone wrote: bq. bq. ----------------------------------------------------------- bq. This is an automatically generated e-mail. To reply, visit: bq. https://reviews.apache.org/r/4485/ bq. ----------------------------------------------------------- bq. bq. (Updated 2012-03-27 02:14:27) bq. bq. bq. Review request for mesos, Benjamin Hindman and John Sirois. bq. bq. bq. Summary bq. ------- bq. bq. CommandInfo now accepts a list of URIs. bq. bq. Also added the ability to selectively set the executable bq. bit on the downloaded files. bq. bq. bq. This addresses bug mesos-171. bq. https://issues.apache.org/jira/browse/mesos-171 bq. bq. bq. Diffs bq. ----- bq. bq. include/mesos/mesos.proto 23aad17 bq. src/common/type_utils.hpp 557abd7 bq. src/examples/java/TestFramework.java f86646b bq. src/examples/java/TestMultipleExecutorsFramework.java cdbcc48 bq. src/examples/long_lived_framework.cpp 2775f5a bq. src/examples/test_framework.cpp 622f6ac bq. src/launcher/launcher.hpp b48d97c bq. src/launcher/launcher.cpp 8545193 bq. src/launcher/main.cpp 80567e9 bq. src/slave/http.cpp b9f3232 bq. src/slave/lxc_isolation_module.cpp aff6da6 bq. src/slave/process_based_isolation_module.cpp 4280410 bq. bq. Diff: https://reviews.apache.org/r/4485/diff bq. bq. bq. Testing bq. ------- bq. bq. make check. bq. bq. Yet to test it on a linux machine, as some of the changes affect the lxc code. bq. bq. bq. Thanks, bq. bq. Vinod bq. bq. > Make CommandInfo 'uri' field be repeated, possibly making a URI embedded message to describe whether or not we should 'chmod +x' the resulting resource. > -------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: MESOS-171 > URL: https://issues.apache.org/jira/browse/MESOS-171 > Project: Mesos > Issue Type: Improvement > Reporter: Benjamin Hindman > Assignee: Vinod Kone > Priority: Critical > > As a final API change related to CommandInfo: > (a) Make the CommandInfo "uri" field be repeated instead of optional and (b) change the launcher to download each of the uri's and (c) add a comment above CommandInfo in mesos.proto that says we 'chmod +x' each uri (or figure out a way to possible "tag" which uris we want to 'chmod +x') and (d) have the scheduler make sure that each uri starts with a protocol (but don't currently support file://). > It might make sense to add something along the lines of: > message URI { > required string value = 1; > optional boolean executable = 2; > } > To decide whether or not we should download and make the artifact executable (via 'chmod +x'). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira