From commits-return-19331-archive-asf-public=cust-asf.ponee.io@airavata.apache.org Wed Jun 6 15:34:21 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 87664180671 for ; Wed, 6 Jun 2018 15:34:20 +0200 (CEST) Received: (qmail 54195 invoked by uid 500); 6 Jun 2018 13:34:19 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 54185 invoked by uid 99); 6 Jun 2018 13:34:19 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2018 13:34:19 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 177E082A88; Wed, 6 Jun 2018 13:34:19 +0000 (UTC) Date: Wed, 06 Jun 2018 13:34:19 +0000 To: "commits@airavata.apache.org" Subject: [airavata] branch staging updated: Directing the stdout of curl monitoring commands to /dev/null MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <152829205901.19719.10006439058580308067@gitbox.apache.org> From: dimuthuupe@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: airavata X-Git-Refname: refs/heads/staging X-Git-Reftype: branch X-Git-Oldrev: 87b6b2f080fdd12502ece92d11a01e4c20294747 X-Git-Newrev: d5c2bdf4d380991fbd6eba584cd99dc65357356e X-Git-Rev: d5c2bdf4d380991fbd6eba584cd99dc65357356e X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. dimuthuupe pushed a commit to branch staging in repository https://gitbox.apache.org/repos/asf/airavata.git The following commit(s) were added to refs/heads/staging by this push: new d5c2bdf Directing the stdout of curl monitoring commands to /dev/null d5c2bdf is described below commit d5c2bdf4d380991fbd6eba584cd99dc65357356e Author: dimuthu AuthorDate: Wed Jun 6 09:33:54 2018 -0400 Directing the stdout of curl monitoring commands to /dev/null --- .../apache/airavata/helix/impl/task/submission/JobSubmissionTask.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/submission/JobSubmissionTask.java b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/submission/JobSubmissionTask.java index 93f1768..e36c726 100644 --- a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/submission/JobSubmissionTask.java +++ b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/submission/JobSubmissionTask.java @@ -233,7 +233,7 @@ public abstract class JobSubmissionTask extends AiravataTask { mapData.getPreJobCommands().add(0, "curl -X POST -H \"Content-Type: application/vnd.kafka.json.v2+json\" " + "-H \"Accept: application/vnd.kafka.v2+json\" " + "--data '{\"records\":[{\"value\":{\"jobName\":\"" + mapData.getJobName() + "\", \"status\":\"RUNNING\"}}]}' \"" + - ServerSettings.getSetting("job.status.publish.endpoint") + "\" || true"); + ServerSettings.getSetting("job.status.publish.endpoint") + "\" > /dev/null || true"); if (mapData.getPostJobCommands() == null) { mapData.setPostJobCommands(new ArrayList<>()); @@ -242,6 +242,6 @@ public abstract class JobSubmissionTask extends AiravataTask { mapData.getPostJobCommands().add("curl -X POST -H \"Content-Type: application/vnd.kafka.json.v2+json\" " + "-H \"Accept: application/vnd.kafka.v2+json\" " + "--data '{\"records\":[{\"value\":{\"jobName\":\"" + mapData.getJobName() + "\", \"status\":\"COMPLETED\"}}]}' \"" + - ServerSettings.getSetting("job.status.publish.endpoint") + "\" || true"); + ServerSettings.getSetting("job.status.publish.endpoint") + "\" > /dev/null || true"); } } -- To stop receiving notification emails like this one, please contact dimuthuupe@apache.org.