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 242D2200D35 for ; Tue, 24 Oct 2017 06:08:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 22E5A160BF0; Tue, 24 Oct 2017 04:08:05 +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 70D991609E0 for ; Tue, 24 Oct 2017 06:08:04 +0200 (CEST) Received: (qmail 22474 invoked by uid 500); 24 Oct 2017 04:08:03 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 22465 invoked by uid 99); 24 Oct 2017 04:08:03 -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, 24 Oct 2017 04:08:03 +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 AFCAF1A0BDF for ; Tue, 24 Oct 2017 04:08:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.201 X-Spam-Level: X-Spam-Status: No, score=-99.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] 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 B58p-D-QC2yB for ; Tue, 24 Oct 2017 04:08:01 +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 314175FB52 for ; Tue, 24 Oct 2017 04:08:01 +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 66D31E04F7 for ; Tue, 24 Oct 2017 04:08:00 +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 1680421EE4 for ; Tue, 24 Oct 2017 04:08:00 +0000 (UTC) Date: Tue, 24 Oct 2017 04:08:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-3005) Provision API should optionally include SDK harness memory/cpu/disk limits MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 24 Oct 2017 04:08:05 -0000 [ https://issues.apache.org/jira/browse/BEAM-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16216264#comment-16216264 ] ASF GitHub Bot commented on BEAM-3005: -------------------------------------- GitHub user herohde opened a pull request: https://github.com/apache/beam/pull/4029 [BEAM-3005] Add resource limits to provisioning * Use memory limit for JVM max heap size. You can merge this pull request into a Git repository by running: $ git pull https://github.com/herohde/beam containers Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/4029.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4029 ---- commit 1514f5a36376c12bef8597b9b37505a01cfec9f7 Author: Henning Rohde Date: 2017-10-20T21:38:54Z [BEAM-3005] Add resource limits to provision proto commit b37e4d1c23b9d7291d8063e525a554ae343fe0ab Author: Henning Rohde Date: 2017-10-23T16:56:55Z [BEAM-3005] Set JVM max heap size in java container commit 9e8cc1b77e6afbccb181f81db6bc201f40dde68d Author: Henning Rohde Date: 2017-10-23T16:59:08Z Declare .go and Dockerfile as text in gitattributes ---- > Provision API should optionally include SDK harness memory/cpu/disk limits > -------------------------------------------------------------------------- > > Key: BEAM-3005 > URL: https://issues.apache.org/jira/browse/BEAM-3005 > Project: Beam > Issue Type: Improvement > Components: beam-model > Reporter: Henning Rohde > Assignee: Henning Rohde > Priority: Minor > Labels: portability > > SDK harness containers should be told what resources they can use via the provision API, notably to configure the JVM heap limit. Disk usage (in the semi-persistent location) and cpu share can also be added. These limits -- if provided -- may be enforced at the discretion of the runner (or the reality of the execution environment). -- This message was sent by Atlassian JIRA (v6.4.14#64029)