hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15465) Deprecate WinUtils#Symlinks by using native java code
Date Tue, 15 May 2018 18:37:00 GMT

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

Steve Loughran commented on HADOOP-15465:
-----------------------------------------

Shell is tagged as Public + Evolving, making it part of our public APIs. People may be using
it with an expectation of stability, something [we promise|https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/Compatibility.html#Java_Binary_compatibility_for_end-user_applications_i.e._Apache_Hadoop_ABI]

But: I don't see anyone using it, as FileUtils.symlink is picked up directly. 

Deprecating is safest and must be done for at least one dot release; also good to do the due
diligence first and find out if anyone has been using it. I've just checked spark in my IDE;
all is well there. Normally I'd suspect HBase and then Hive as the ones most prone to using
internal stuff. 

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


Mime
View raw message