Uploaded image for project: 'Giraph'
  1. Giraph
  2. GIRAPH-90

LongDoubleFloatDoubleVertex has possibily the iterator() implementation broken

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.1.0
    • Fix Version/s: 0.1.0
    • Component/s: graph
    • Labels:
      None

      Description

      iterator() implementation returns LongWritable which is cached in a final variable and set() with the new value at next(). This could be misleading as the user might create a list from the iterator's data. Something similar is happening in the getMsgList() as well.

      Is this really what we want?

        Attachments

        1. GIRAPH-90.diff
          1 kB
          Claudio Martella

          Activity

            People

            • Assignee:
              cmartella Claudio Martella
              Reporter:
              cmartella Claudio Martella
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: