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 3937D200D34 for ; Fri, 20 Oct 2017 00:55:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 37BFD160BEC; Thu, 19 Oct 2017 22:55:06 +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 816411609EE for ; Fri, 20 Oct 2017 00:55:05 +0200 (CEST) Received: (qmail 85837 invoked by uid 500); 19 Oct 2017 22:55:04 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 85826 invoked by uid 99); 19 Oct 2017 22:55:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Oct 2017 22:55:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id ED116D0C63 for ; Thu, 19 Oct 2017 22:55:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id kc00IQ3gLY3K for ; Thu, 19 Oct 2017 22:55:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 204605FC38 for ; Thu, 19 Oct 2017 22:55:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A7BDFE00A3 for ; Thu, 19 Oct 2017 22:55:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id DD6DE21EE6 for ; Thu, 19 Oct 2017 22:55:00 +0000 (UTC) Date: Thu, 19 Oct 2017 22:55:00 +0000 (UTC) From: "Subru Krishnan (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5516) Add REST API for periodicity MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 19 Oct 2017 22:55:06 -0000 [ https://issues.apache.org/jira/browse/YARN-5516?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16211= 890#comment-16211890 ]=20 Subru Krishnan commented on YARN-5516: -------------------------------------- Thanks [~seanpo03] for the patch. It looks mostly good except for some mino= r comments: * You'll have to rebase now that YARN-7311 is in. * Can you update the REST API documentation also to include recurrence expr= ession. * I see you have added a test but would it be possible to run the existing = tests with both recurrence and non-recurrence. In the case of former, the r= eservation will repeat periodically which can be checked by wrapping the as= sertions in a loop on periodicity. Additionally I agree that we have to update {{ReservationDefinition}} API d= ocumentation with the constraints you observed: # Recurrence expression as a long must be greater than the duration (deadli= ne =E2=80=93 arrival). # MAX_PERIOD must be divisible by the recurrence expression. We already have covered (1) in {{ReservationInputValidator}}. Can you make = (2) is also there? If not, please add it (along with {{TestReservationInput= Validator}}. Thanks! > Add REST API for periodicity > ---------------------------- > > Key: YARN-5516 > URL: https://issues.apache.org/jira/browse/YARN-5516 > Project: Hadoop YARN > Issue Type: Sub-task > Components: resourcemanager > Reporter: Sangeetha Abdu Jyothi > Assignee: Sean Po > Attachments: YARN-5516.v001.patch, YARN-5516.v002.patch > > > YARN-5516 changing REST API of the reservation system to support periodic= ity.=20 -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org