[jira] [Resolved] (HADOOP-15136) Typo in rename spec pseudocode

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (HADOOP-15136) Typo in rename spec pseudocode

Sergey Smolyakov (Jira)

     [ https://issues.apache.org/jira/browse/HADOOP-15136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran resolved HADOOP-15136.
-------------------------------------
    Fix Version/s: 3.3.1
       Resolution: Fixed

Fixed by david tucker.

> 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
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.3.1
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]