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

FsAction operations shouldn't create new Objects

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.16.0
    • Fix Version/s: 0.20.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      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
          Chris Douglas

          Activity

            People

            • Assignee:
              chris.douglas Chris Douglas
              Reporter:
              chris.douglas Chris Douglas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: