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 518A8200C15 for ; Wed, 25 Jan 2017 04:26:55 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 502E6160B4B; Wed, 25 Jan 2017 03:26:55 +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 715D9160B3E for ; Wed, 25 Jan 2017 04:26:54 +0100 (CET) Received: (qmail 70005 invoked by uid 500); 25 Jan 2017 03:26:53 -0000 Mailing-List: contact user-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@giraph.apache.org Delivered-To: mailing list user@giraph.apache.org Received: (qmail 69994 invoked by uid 99); 25 Jan 2017 03:26:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2017 03:26:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 98360C0333 for ; Wed, 25 Jan 2017 03:26:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.38 X-Spam-Level: ** X-Spam-Status: No, score=2.38 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, HTML_OBFUSCATE_05_10=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 7PFj6NcUL0az for ; Wed, 25 Jan 2017 03:26:51 +0000 (UTC) Received: from mail-ot0-f169.google.com (mail-ot0-f169.google.com [74.125.82.169]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 2F13B5FBE1 for ; Wed, 25 Jan 2017 03:26:51 +0000 (UTC) Received: by mail-ot0-f169.google.com with SMTP id 65so142923401otq.2 for ; Tue, 24 Jan 2017 19:26:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=x9e1er7fAbbKToEAF4x7kYWdQdcWjzfmpwwbKGi84EI=; b=n3TP6p4RGiT3eQ2NMKP2UYq1mBUh+rCz1SknRYOpD3Qv9s6J9TS4Q1LjOsS6ks2hYj 0//PxEPzxPQ/XGUMcZrNiGiViasJl/b3ND4W38BcRmLRMCLHKUBNutBGlKajASwAzzAw 1Bdw/GR3xA3kJGI8aKReOMsChumCbMl3XsQbwpDTzgdk+j7ByzXbk8Uw77dUohD7aHxI QELHlB06Eo+469LPD3Zwdq+G68X5O0n6ER4ZZamyKXfL2XptjiU1rnis4z/aD7OJ03a8 DuaRlJiu13GjsOJkzFiN1OPwsIRIWyT6zRWDtLWN1cQRaXaibGvE1LVwVNb2aGYhG3YX H/9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=x9e1er7fAbbKToEAF4x7kYWdQdcWjzfmpwwbKGi84EI=; b=js+ckxAgHAUhjIOa6ejdOsZAlRTtgAk/wwZ6wexPFOdAIKa46Bt+G+m0je9sDAqITU TBWM3MZ19xyIxXZqK1lzIxAehnxrEmHpAUdrJYPZhGmPZZp1wBNxlw9KVfaOjSSlSLK3 xt9nG742RsOJdSNE7w/DbfEaIX6y58Enr4izeHlX0b3vOq6ZtHNq5emXqz++VOrwh2SY Z4V8wCa+IQ3xHr+xKVsgtqS65VsyRGqSVrSTLTGRZhgPe3YWTE+WWgCyY2c2afNzgCPw z23Cryu+XJMecQtYLNWVpVwA8qAjdZC0QU/pMpGzzwHd1P9NxO+ZwC1CSO5wXZcSEeCo 2ILQ== X-Gm-Message-State: AIkVDXLqaVd0Ajwaz1as/DELyz0jU50ocVEt9poxqOypjW4nlI7F+EWpdnBsZmx/RRl4WLyiNZGZTXUVlIWDuQ== X-Received: by 10.157.27.169 with SMTP id z38mr17287382otd.262.1485314809077; Tue, 24 Jan 2017 19:26:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.202.54.87 with HTTP; Tue, 24 Jan 2017 19:26:28 -0800 (PST) From: =?UTF-8?Q?Jos=C3=A9_Luis_Larroque?= Date: Wed, 25 Jan 2017 00:26:28 -0300 Message-ID: Subject: Stop Giraph application when reach certain amount of time To: user@giraph.apache.org Content-Type: multipart/alternative; boundary=001a113cc7fa9324420546e2cd0f archived-at: Wed, 25 Jan 2017 03:26:55 -0000 --001a113cc7fa9324420546e2cd0f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I have to execute several *Giraph* process in *AWS*. For doing it, i have a script that launch one process after another until all process are finished. The problem is that some times, a container gets killed, and i spent a lot of time waiting for the entire giraph app gets killed, so the following can start. I'm trying to diminish this time, because i know that a process that takes more than 5 minutes isn't going to be ended (i prefer get a few giraph process being killed, if the maximum time for executing all of them gets reduced significantly). I already try putting a "maximum amount of time" with the following options putting a really low value (1 milisecond): - *giraph.waitTaskDoneTimeoutMs* -> This option make the container throw an IllegalStateException but doens's stop the Giraph app from running. I know that this option have a bug reported, but i hope that is not the case here. - *giraph.maxAllowedJobTimeMilliseconds* -> With LOG level in DEBUG, i couldn't see any impact of using this option. But yet, i'm not getting the expected result, and i have Giraph applications that take like 12000 seconds or more (a big waste of time, resources and money). Any help will be greatly appreciated. Thanks! --=20 *Jos=C3=A9 Luis Larroque* Analista Programador Universitario - Facultad de Inform=C3=A1tica - UNLP Desarrollador Java en LIFIA --001a113cc7fa9324420546e2cd0f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I have to execute several=C2=A0Giraph=C2=A0process in=C2=A0AWS. For doing it, i have a= script that launch one process after another until all process are finishe= d. The problem is that some times, a container gets killed, and i spent a l= ot of time waiting for the entire giraph app gets killed, so the following = can start. I'm trying to diminish this time, because i know that a proc= ess that takes more than 5 minutes isn't going to be ended (i prefer ge= t a few giraph process being killed, if the maximum time for executing all = of them gets reduced significantly).

I already try putting a "maximum amount= of time" with the following options putting a really low value (1 mil= isecond):

But yet, i'm not getting the expected result, and i hav= e Giraph applications that take like 12000 seconds or more (a big waste of = time, resources and money).


Any help will be greatly appreciated.


Thanks!


--001a113cc7fa9324420546e2cd0f--