You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Raminderjeet Singh (JIRA)" <ji...@apache.org> on 2014/09/12 22:45:34 UTC

[jira] [Comment Edited] (AIRAVATA-1430) GSISSHAbstractCluster not throwing error if there is issue submitting job

    [ https://issues.apache.org/jira/browse/AIRAVATA-1430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14132078#comment-14132078 ] 

Raminderjeet Singh edited comment on AIRAVATA-1430 at 9/12/14 8:45 PM:
-----------------------------------------------------------------------

We can modify the GSISSHAbstractCluster.getOutputifAvailable() like following. stdErrorString.contains(command) is checking if the error belong to issued command so even there are module error or any other messages in stderr, we will ignore all that. I need to test it yet. 

if(stdOutputString == null || "".equals(stdOutputString)){
               log.error("-------------- Standard output came as empty, so this poll is going to fail --------------");
        }
if (stdErrorString != null && stdErrorString.contains(command)) {
            log.error("Standard Error output : " + stdErrorString);
            throw new SSHApiException(errorMsg + "\n\r StandardOutput: "+ stdOutputString + "\n\r StandardError: "+ stdErrorString);
}


was (Author: raminder):
We can modify the GSISSHAbstractCluster.getOutputifAvailable() like following. stdErrorString.contains(command) is checking if the error belong to issued command so even there are module error or any other messages in stdout, we will ignore all that. 

if(stdOutputString == null || "".equals(stdOutputString)){
               log.error("-------------- Standard output came as empty, so this poll is going to fail --------------");
        }
if (stdErrorString != null && stdErrorString.contains(command)) {
            log.error("Standard Error output : " + stdErrorString);
            throw new SSHApiException(errorMsg + "\n\r StandardOutput: "+ stdOutputString + "\n\r StandardError: "+ stdErrorString);
}

> GSISSHAbstractCluster not throwing error if there is issue submitting job
> -------------------------------------------------------------------------
>
>                 Key: AIRAVATA-1430
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-1430
>             Project: Airavata
>          Issue Type: Bug
>          Components: GFac
>    Affects Versions: 0.14
>            Reporter: Raminderjeet Singh
>
> I got disk quota full and lonestar rejected the job but we are not throwing the right error for client to read. 
> -------------------> Rejecting job <-------------------
> Unable to write into your HOME file system.
> Please verify that you are not over disk quota before
> submitting subsequent jobs.
> Please contact TACC Consulting if you believe you have
> received this message in error.
> -------------------------------------------------------



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)