hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Íñigo Goiri (JIRA) <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15528) Deprecate ContainerLaunch#link by using FileUtil#SymLink
Date Tue, 03 Jul 2018 18:37:00 GMT

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

Íñigo Goiri commented on HADOOP-15528:
--------------------------------------

{quote}
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.
{quote}

[^HADOOP-15528-HADOOP-15461.v3.patch] is changing the way containers are launched.
I'm not sure this is OK.
[~jlowe], [~stevel@apache.org], what are your thoughts on this?
I would be inclined towards keeping the old semantic.

> 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,
HADOOP-15528-HADOOP-15461.v3.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
(v7.6.3#76005)

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


Mime
View raw message