You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2018/04/05 18:26:57 UTC

[airavata] branch develop updated: Printing the experiment id when submitting a post workflow

This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/develop by this push:
     new bac92d0  Printing the experiment id when submitting a post workflow
bac92d0 is described below

commit bac92d05aec1066ab621c2168c52305bcfbc1987
Author: dimuthu <di...@gmail.com>
AuthorDate: Thu Apr 5 14:26:50 2018 -0400

    Printing the experiment id when submitting a post workflow
---
 .../org/apache/airavata/helix/impl/workflow/PostWorkflowManager.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/workflow/PostWorkflowManager.java b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/workflow/PostWorkflowManager.java
index 0bf5eb8..39c857b 100644
--- a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/workflow/PostWorkflowManager.java
+++ b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/workflow/PostWorkflowManager.java
@@ -191,7 +191,7 @@ public class PostWorkflowManager extends WorkflowManager {
                 String processStatus = getStatusOfProcess(processId);
 
                 logger.info("Updating the job status for job id : " + jobStatusResult.getJobId() + " with process id "
-                        + processId + ", gateway " + gateway + " and status " + jobStatusResult.getState().name());
+                        + processId + ", exp id " + experimentId + ", gateway " + gateway + " and status " + jobStatusResult.getState().name());
                 saveAndPublishJobStatus(jobStatusResult.getJobId(), task, processId, experimentId, gateway, jobStatusResult.getState());
 
                 // TODO get cluster lock before that
@@ -288,7 +288,7 @@ public class PostWorkflowManager extends WorkflowManager {
                         logger.info("Job " + jobStatusResult.getJobId() + " was externally cancelled");
 
                     } else if (jobStatusResult.getState() == JobState.FAILED) {
-                        logger.info("Job " + jobStatusResult.getJobId() + " was failed");
+                        logger.info("Job " + jobStatusResult.getJobId() + " was failed.");
 
                     } else if (jobStatusResult.getState() == JobState.SUBMITTED) {
                         logger.info("Job " + jobStatusResult.getJobId() + " was submitted");

-- 
To stop receiving notification emails like this one, please contact
dimuthuupe@apache.org.