airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shame...@apache.org
Subject [15/20] airavata git commit: Set jobmodel description
Date Wed, 02 Nov 2016 03:30:26 GMT
Set jobmodel description


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/64f823b3
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/64f823b3
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/64f823b3

Branch: refs/heads/auroraMesosIntegration
Commit: 64f823b3a892efbad85099ca619c63325b1e5ff5
Parents: dc3d530
Author: Shameera Rathnayaka <shameerainfo@gmail.com>
Authored: Tue Nov 1 22:15:12 2016 -0400
Committer: Shameera Rathnayaka <shameerainfo@gmail.com>
Committed: Tue Nov 1 22:15:12 2016 -0400

----------------------------------------------------------------------
 .../org/apache/airavata/gfac/impl/task/AuroraJobSubmission.java     | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/64f823b3/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/AuroraJobSubmission.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/AuroraJobSubmission.java
b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/AuroraJobSubmission.java
index 3932dc0..02af9a3 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/AuroraJobSubmission.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/AuroraJobSubmission.java
@@ -105,6 +105,7 @@ public class AuroraJobSubmission implements JobSubmissionTask{
             AuroraThriftClient client = AuroraThriftClient.getAuroraThriftClient(Constants.AURORA_SCHEDULER_PROP_FILE);
             ResponseBean response = client.createJob(jobConfig);
             log.info("Response for job {}, {}", jobIdAndName, response);
+            jobModel.setJobDescription(resources.toString());
 
             jobModel.setJobId(jobIdAndName);
             jobStatus.setReason("Successfully Submitted");


Mime
View raw message