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

Typo in FileSystem:: listStatusIterator

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: fs
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

        public RemoteIterator<FileStatus> listStatusIterator(final Path p)
        throws FileNotFoundException, IOException {
          return new RemoteIterator<FileStatus>() {
      //...
                throw new NoSuchElementException("No more entry in " + p);
              }
              return stats[i++];
            }

      Should be 'no more entries'

        Attachments

          Activity

            People

            • Assignee:
              ahvigil Arthur Vigil
              Reporter:
              jghoman Jakob Homan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: