Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15136

Typo in rename spec pseudocode

    XMLWordPrintableJSON

Details

    Description

      Location of issue: rename spec documentation

      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:

      let dest = if (isDir(FS, src) and d != src) :
              d + [filename(src)]
          else :
              d
      

      What I expected:
      isDir(FS, src) should be isDir(FS, d).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              raemarks Rae Marks
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h