hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (HADOOP-15136) Typo in rename spec pseudocode
Date Fri, 18 Sep 2020 17:33:00 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-15136?focusedWorklogId=486301&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-486301

ASF GitHub Bot logged work on HADOOP-15136:

                Author: ASF GitHub Bot
            Created on: 18/Sep/20 17:32
            Start Date: 18/Sep/20 17:32
    Worklog Time Spent: 10m 
      Work Description: steveloughran commented on pull request #2314:
URL: https://github.com/apache/hadoop/pull/2314#issuecomment-694994006

   Also: you got a login on the apache JIRA so I can assign/credit the issue there to you

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 486301)
    Time Spent: 40m  (was: 0.5h)

> 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: 40m
>  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

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message