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/05/02 14:06:27 UTC

[airavata] branch master updated (f79c7f7 -> a6e5782)

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

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


    from f79c7f7  Added vhost server alias for searching SRA
     new baf6974  Adding missing emails to gfac config
     new a6e5782  Logging improvements

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 dev-tools/ansible/roles/gfac/templates/gfac-config.yaml.j2           | 3 +++
 .../main/java/org/apache/airavata/gfac/impl/HPCRemoteCluster.java    | 5 ++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

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

[airavata] 02/02: Logging improvements

Posted by di...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit a6e57823a4fe0b14dc1ec48cfa4a733cda1bd275
Author: dimuthu <di...@gmail.com>
AuthorDate: Wed May 2 10:03:44 2018 -0400

    Logging improvements
---
 .../main/java/org/apache/airavata/gfac/impl/HPCRemoteCluster.java    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/HPCRemoteCluster.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/HPCRemoteCluster.java
index 0dd6383..454900f 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/HPCRemoteCluster.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/HPCRemoteCluster.java
@@ -203,6 +203,7 @@ public class HPCRemoteCluster extends AbstractRemoteCluster{
 	public List<String> getFileNameFromExtension(String fileRegex, String parentPath, Session session) throws GFacException {
 		try {
 			List<String> fileNames = SSHUtils.listDirectory(parentPath, session);
+			log.info("All files that are available in the path " + parentPath + " : " + fileNames.toString());
 			List<String> matchingNames = new ArrayList<>();
 			for(String fileName : fileNames){
 				String tempFileName = fileName;
@@ -223,7 +224,9 @@ public class HPCRemoteCluster extends AbstractRemoteCluster{
 					matchingNames.add(fileName);
 				}
 			}
-			log.warn("No matching file found for extension: " + fileRegex + " in the " + parentPath + " directory");
+			if (matchingNames.isEmpty()) {
+				log.warn("No matching file found for extension: " + fileRegex + " in the " + parentPath + " directory");
+			}
 			return matchingNames;
 		} catch (Exception e) {
 			e.printStackTrace();

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

[airavata] 01/02: Adding missing emails to gfac config

Posted by di...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit baf6974c61230ff5807cacf55b59632ff9205a1d
Author: dimuthu <di...@gmail.com>
AuthorDate: Wed May 2 09:58:35 2018 -0400

    Adding missing emails to gfac config
---
 dev-tools/ansible/roles/gfac/templates/gfac-config.yaml.j2 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-tools/ansible/roles/gfac/templates/gfac-config.yaml.j2 b/dev-tools/ansible/roles/gfac/templates/gfac-config.yaml.j2
index d06b910..1ab74bf 100644
--- a/dev-tools/ansible/roles/gfac/templates/gfac-config.yaml.j2
+++ b/dev-tools/ansible/roles/gfac/templates/gfac-config.yaml.j2
@@ -88,6 +88,7 @@ resources:
       - smic3 <sm...@mail.hpc.lsu.edu> # philip.hpc.lsu
       - adm@jetstream-cloud.org
       - adm <ad...@smic3.hpc.lsu.edu> #supermic
+      - root <ad...@alamo.uthscsa.edu> #alamo
 
   - jobManagerType: SLURM
     commandOutputParser: org.apache.airavata.gfac.impl.job.SlurmOutputParser
@@ -112,6 +113,8 @@ resources:
       - slurm@sra-master.jetstreamlocal #Searching SRA
       - Slurm Admin <sl...@hpclogin01.rs.gsu.edu> #GSU cluster
       - slurm@head.cluster #USD cluster
+      - slurm@js-169-158.jetstream-cloud.org
+      - slurm@joker.nmsu.edu
 
   - jobManagerType: UGE
     commandOutputParser: org.apache.airavata.gfac.impl.job.UGEOutputParser

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