You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Giovanni Matteo Fumarola (JIRA)" <ji...@apache.org> on 2018/05/16 22:50:00 UTC

[jira] [Comment Edited] (HADOOP-15465) Deprecate WinUtils#Symlinks by using native java code

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

Giovanni Matteo Fumarola edited comment on HADOOP-15465 at 5/16/18 10:49 PM:
-----------------------------------------------------------------------------

Thanks [~stevel@apache.org] for the feedback, I found [here|https://github.com/search?q=org%3Aapache+getSymlinkCommand&type=Code] that only [MiniTezTestServiceCluster.java|https://github.com/apache/tez/blob/247719d7314232f680f028f4e1a19370ffb7b1bb/tez-ext-service-tests/src/test/java/org/apache/tez/service/MiniTezTestServiceCluster.java] in Tez project uses {{_getSymlinkCommand_}}.
 Thanks [~elgoiri] for helping me finding the way out of that failed tests.

[^HADOOP-15465.v1.patch] fixes the issue with the failed unit tests.

[^HADOOP-15465.v2.patch] remove an obsolete TODO. 


was (Author: giovanni.fumarola):
Thanks [~stevel@apache.org] for the feedback, I found [here|https://github.com/search?q=org%3Aapache+getSymlinkCommand&type=Code] that only [MiniTezTestServiceCluster.java|https://github.com/apache/tez/blob/247719d7314232f680f028f4e1a19370ffb7b1bb/tez-ext-service-tests/src/test/java/org/apache/tez/service/MiniTezTestServiceCluster.java] in Tez project uses {{_getSymlinkCommand_}}.
Thanks [~elgoiri] for helping me finding the way out of that failed tests.

[^HADOOP-15465.v1.patch] fixes the issue with the failed unit tests.

 

> Deprecate WinUtils#Symlinks by using native java code
> -----------------------------------------------------
>
>                 Key: HADOOP-15465
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15465
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Íñigo Goiri
>            Assignee: Giovanni Matteo Fumarola
>            Priority: Major
>         Attachments: HADOOP-15465.v0.patch, HADOOP-15465.v0.proto.patch, HADOOP-15465.v1.patch, HADOOP-15465.v2.patch
>
>
> Hadoop uses the shell to create symbolic links. Now that Hadoop relies on Java 7+, we can deprecate all the shell code and rely on the Java APIs.



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