hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giovanni Matteo Fumarola (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15528) Deprecate ContainerLaunch#link by using FileUtil#SymLink
Date Mon, 02 Jul 2018 23:02:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-15528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16530551#comment-16530551

Giovanni Matteo Fumarola commented on HADOOP-15528:

Attached [^HADOOP-15528-HADOOP-15461.v3.patch].
2 possible future improvements that we can do within this Jira or in a future jira:
* For each resource to create the symlink we try to create the directory. We should move the
creation of the directory in ContainerExecutor.
* If the symlink failed we still start the container and we crash afterward. We have to avoid
to start the container.

> Deprecate ContainerLaunch#link by using FileUtil#SymLink
> --------------------------------------------------------
>                 Key: HADOOP-15528
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15528
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Giovanni Matteo Fumarola
>            Assignee: Giovanni Matteo Fumarola
>            Priority: Major
>         Attachments: HADOOP-15528-HADOOP-15461.v1.patch, HADOOP-15528-HADOOP-15461.v2.patch,
> {{ContainerLaunch}} currently uses its own utility to create links (including winutils).
> This should be deprecated and rely on {{FileUtil#SymLink}} which is already multi-platform
and pure Java.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message