You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Dimuthu Upeksha (JIRA)" <ji...@apache.org> on 2018/05/08 20:31:00 UTC

[jira] [Resolved] (AIRAVATA-2740) Non-existing file transfer has failed the experiment

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

Dimuthu Upeksha resolved AIRAVATA-2740.
---------------------------------------
    Resolution: Fixed

> Non-existing file transfer has failed the experiment
> ----------------------------------------------------
>
>                 Key: AIRAVATA-2740
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2740
>             Project: Airavata
>          Issue Type: Bug
>          Components: helix implementation
>    Affects Versions: 0.18
>         Environment: http://149.165.168.248:8008/
>            Reporter: Eroma
>            Assignee: Dimuthu Upeksha
>            Priority: Major
>
> # Due to an 0 byte input file upload tan expected output file is not generated in the application execution. 
>  # The airavata tries to transfer the file an error is thrown as the file is not existing.
>  # But a 0 byte output file is created in the gateway data storage and user can view it.
>  # Exception is thrown [1]
>  # If a specified output file is not in the working directory, it should be ignored, not create an empty file in the storage
>  # If a 0 byte file exists in the working directory it should be transferred to the storage.
> [1]
> org.apache.airavata.agents.api.AgentException: java.io.FileNotFoundException: /tmp/PROCESS_ac1064b1-226e-491c-91e6-303448f05f16/temp_inputs/Gaussian.log (No such file or directory) at org.apache.airavata.helix.agent.ssh.SshAgentAdaptor.copyFileTo(SshAgentAdaptor.java:307) at org.apache.airavata.helix.agent.storage.StorageResourceAdaptorImpl.uploadFile(StorageResourceAdaptorImpl.java:98) at org.apache.airavata.helix.impl.task.staging.DataStagingTask.transferFileToStorage(DataStagingTask.java:158) at org.apache.airavata.helix.impl.task.staging.OutputDataStagingTask.onRun(OutputDataStagingTask.java:163) at org.apache.airavata.helix.impl.task.AiravataTask.onRun(AiravataTask.java:265) at org.apache.airavata.helix.core.AbstractTask.run(AbstractTask.java:82) at org.apache.helix.task.TaskRunner.run(TaskRunner.java:70) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) Caused by: java.io.FileNotFoundException: /tmp/PROCESS_ac1064b1-226e-491c-91e6-303448f05f16/temp_inputs/Gaussian.log (No such file or directory) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.(FileInputStream.java:138) at java.io.FileInputStream.(FileInputStream.java:93) at org.apache.airavata.helix.agent.ssh.SshAgentAdaptor.copyFileTo(SshAgentAdaptor.java:276) ... 13 more



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)