You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/04/03 23:39:54 UTC

[jira] [Commented] (REEF-239) Catch all Throwables when trying to create symlinks

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

Hudson commented on REEF-239:
-----------------------------

SUCCESS: Integrated in Reef-pull-request-ubuntu #363 (See [https://builds.apache.org/job/Reef-pull-request-ubuntu/363/])
[REEF-239] Catch all Throwables when trying to create symlinks (weimer: rev 1e38a33df0197833323e8c4769ff9efbb23db63d)
* lang/java/reef-runtime-local/src/main/java/org/apache/reef/runtime/local/client/DriverFiles.java


> Catch all Throwables when trying to create symlinks
> ---------------------------------------------------
>
>                 Key: REEF-239
>                 URL: https://issues.apache.org/jira/browse/REEF-239
>             Project: REEF
>          Issue Type: Bug
>          Components: REEF Runtime Local
>            Reporter: Markus Weimer
>            Assignee: Markus Weimer
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The local runtime tries to use symbolic links in lieu of file copies when it sets up the working directories for the Driver and Evaluators. This can fail on Windows when the user doesn't have symlink privileges. We account for that by catching {{IOException}} thrown by the symlink process and copying the files instead.
> However, what I just found out is that it can also fail for Java internal reasons with an {{InternalException}}. We therefore should catch any {{Throwable}} instead of just {{IOException}}



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