hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rae Marks (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15136) Typo in rename spec pseudocode
Date Thu, 21 Dec 2017 17:58:00 GMT

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

Rae Marks commented on HADOOP-15136:
------------------------------------

Sure, I'll get on that. Thanks!

> Typo in rename spec pseudocode
> ------------------------------
>
>                 Key: HADOOP-15136
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15136
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Rae Marks
>
> Location of issue: [rename spec documentation|https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/filesystem/filesystem.html#boolean_renamePath_src_Path_d]
> The text description for what rename does in the case when the destination exists and
is a directory is correct. However, the pseudocode is not.
> What is written:
> {code}
> let dest = if (isDir(FS, src) and d != src) :
>         d + [filename(src)]
>     else :
>         d
> {code}
> What I expected:
> {{isDir(FS, src)}} should be {{isDir(FS, d)}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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