airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimuthu Upeksha (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRAVATA-2740) Non-existing file transfer has failed the experiment
Date Fri, 06 Apr 2018 15:01:00 GMT

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

Dimuthu Upeksha commented on AIRAVATA-2740:
-------------------------------------------

Fixed in 

[https://github.com/apache/airavata/commit/721a55abf5b7dff1260f4fd23395003b5460f5e0]

[https://github.com/apache/airavata/commit/e45108a00b3542907fc5494a2a4ef288a1fa9e3b]

https://github.com/apache/airavata/commit/7bb426a243135e97cda181850fa6b48f1d5e059d

> 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)

Mime
View raw message