From reviews-return-72298-archive-asf-public=cust-asf.ponee.io@mesos.apache.org Tue Jan 23 19:56:45 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 0453B180621 for ; Tue, 23 Jan 2018 19:56:45 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E7F5B160C3A; Tue, 23 Jan 2018 18:56:44 +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 39741160C24 for ; Tue, 23 Jan 2018 19:56:44 +0100 (CET) Received: (qmail 91313 invoked by uid 500); 23 Jan 2018 18:56:43 -0000 Mailing-List: contact reviews-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@mesos.apache.org Delivered-To: mailing list reviews@mesos.apache.org Received: (qmail 91302 invoked by uid 99); 23 Jan 2018 18:56:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2018 18:56:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 27F6E1A0691; Tue, 23 Jan 2018 18:56:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.29 X-Spam-Level: ** X-Spam-Status: No, score=2.29 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ptdXWalmbeQC; Tue, 23 Jan 2018 18:56:41 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 37A8B5F2EE; Tue, 23 Jan 2018 18:56:40 +0000 (UTC) Received: from reviews.apache.org (unknown [10.41.0.12]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 85F46E0DF8; Tue, 23 Jan 2018 18:56:39 +0000 (UTC) Received: from reviews-vm2.apache.org (localhost [IPv6:::1]) by reviews.apache.org (ASF Mail Server at reviews-vm2.apache.org) with ESMTP id B8013C405BC; Tue, 23 Jan 2018 18:56:38 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============7866271125686415860==" MIME-Version: 1.0 Subject: Re: Review Request 65294: Add revocable resources support to mesos-execute. From: Mesos Reviewbot Windows To: Jason Lai Cc: Zhitao Li , Mesos Reviewbot Windows , mesos Date: Tue, 23 Jan 2018 18:56:37 -0000 Message-ID: <20180123185637.50413.86364@reviews-vm2.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Mesos Reviewbot Windows X-ReviewGroup: mesos X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/65294/ X-Sender: Mesos Reviewbot Windows References: <20180123175317.50413.46698@reviews-vm2.apache.org> In-Reply-To: <20180123175317.50413.46698@reviews-vm2.apache.org> Reply-To: Mesos Reviewbot Windows X-ReviewRequest-Repository: mesos --===============7866271125686415860== 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/65294/#review196053 ----------------------------------------------------------- PASS: Mesos patch 65294 was successfully built and tested. Reviews applied: `['65294']` All the build artifacts available at: http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/65294 - Mesos Reviewbot Windows On Jan. 23, 2018, 9:53 a.m., Zhitao Li wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/65294/ > ----------------------------------------------------------- > > (Updated Jan. 23, 2018, 9:53 a.m.) > > > Review request for mesos and Jason Lai. > > > Bugs: MESOS-8471 > https://issues.apache.org/jira/browse/MESOS-8471 > > > Repository: mesos > > > Description > ------- > > This allows user to use `mesos-execute` to quickly test over subscription. > > > Diffs > ----- > > src/cli/execute.cpp 6e626893a64dc07ac9a5f9a5c31e680cb80938fe > > > Diff: https://reviews.apache.org/r/65294/diff/1/ > > > Testing > ------- > > Submitted a test task with following configuration: > ``` > { > "name": "Name", > "task_id": {"value" : "1"}, > "agent_id": {"value" : ""}, > "resources": [ > { > "name": "cpus", > "type": "SCALAR", > "revocable": {}, > "scalar": { > "value": 0.1 > } > } > ], > "command": { > "value": "sleep 1000" > } > } > ``` > > With command `mesos-execute --master=localhost:5050 --revocable_resources --task=file:///home/user/test_rev_task.json` > > If the master/agent has revocable cpu, this allows the task to execute. > > > Thanks, > > Zhitao Li > > --===============7866271125686415860==--