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/06/11 17:13:01 UTC

[jira] [Comment Edited] (HADOOP-15522) Deprecate Shell#ReadLink by using native java code

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

Giovanni Matteo Fumarola edited comment on HADOOP-15522 at 6/11/18 5:12 PM:
----------------------------------------------------------------------------

Thanks [~elgoiri] for the review,
 ReadSymbolic can only throw those exceptions, we should catch only those and throw the others.

I updated the patch [^HADOOP-15522-HADOOP-15461.v2.patch] with your feedback.


was (Author: giovanni.fumarola):
Thanks [~elgoiri] for the review,
ReadSymbolic can only throw those exceptions, we should catch only those and throw the others.

> Deprecate Shell#ReadLink by using native java code
> --------------------------------------------------
>
>                 Key: HADOOP-15522
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15522
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Giovanni Matteo Fumarola
>            Assignee: Giovanni Matteo Fumarola
>            Priority: Major
>         Attachments: HADOOP-15522-HADOOP-15461.v1.patch, HADOOP-15522-HADOOP-15461.v2.patch
>
>
> Hadoop uses the shell to read 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