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

FsAction operations shouldn't create new Objects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.16.0
    • 0.20.0
    • fs
    • None
    • Reviewed

    Description

      FsAction::and and related operations use values()[<expr>], referencing a member var INDEX. This creates a new array object and uses member indices identical to ordinal(). It should either keep a reference to values() and use ordinal() explicitly or observe semantics consistent with INDEX.

      Attachments

        1. 4408-0.patch
          2 kB
          Christopher Douglas

        Activity

          People

            cdouglas Christopher Douglas
            cdouglas Christopher Douglas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: