[ 
https://issues.apache.org/jira/browse/AIRAVATA-836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Raminderjeet Singh updated AIRAVATA-836:
----------------------------------------

    Description: 
In case, i set the output path as local machine for file staging and we set 
output file path as that in  GramRSLGenerator, GridFTPOutputHandler is failing 
and this logic is not right.

if(currentContextHeader.getWorkflowOutputDataHandling() != null){
            
if(currentContextHeader.getWorkflowOutputDataHandling().getApplicationOutputDataHandlingArray().length
 != 0)
            
app.setOutputDataDirectory(currentContextHeader.getWorkflowOutputDataHandling().getApplicationOutputDataHandlingArray()[0].getOutputDataDirectory());
        }

  was:
In case, i set the output path as local machine for file staging and we set 
output file path as that in  GramRSLGenerator, GridFTPOutputHandler is failing 
and this logic is not right.

if(currentContextHeader.getWorkflowOutputDataHandling() != null){
//            
if(currentContextHeader.getWorkflowOutputDataHandling().getApplicationOutputDataHandlingArray().length
 != 0)
//            
app.setOutputDataDirectory(currentContextHeader.getWorkflowOutputDataHandling().getApplicationOutputDataHandlingArray()[0].getOutputDataDirectory());
//        }

    
> In GramRSLGenerator setOutputDataDirectory to context output path is not 
> correct
> --------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-836
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-836
>             Project: Airavata
>          Issue Type: Bug
>          Components: GFac
>    Affects Versions: 0.8
>            Reporter: Raminderjeet Singh
>            Assignee: Raminderjeet Singh
>
> In case, i set the output path as local machine for file staging and we set 
> output file path as that in  GramRSLGenerator, GridFTPOutputHandler is 
> failing and this logic is not right.
> if(currentContextHeader.getWorkflowOutputDataHandling() != null){
>             
> if(currentContextHeader.getWorkflowOutputDataHandling().getApplicationOutputDataHandlingArray().length
>  != 0)
>             
> app.setOutputDataDirectory(currentContextHeader.getWorkflowOutputDataHandling().getApplicationOutputDataHandlingArray()[0].getOutputDataDirectory());
>         }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to