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

SequenceFileVertexInputFormat has WritableComparable<I> as a bounded type for I

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: lib
    • Labels:
      None

      Description

      This is the first JIRA I ever file, so please let me know if I'm not doing this right.
      Basically, SequenceFileVertexInputFormat has WritableComparable<I> as a bounded type for I, while the Hadoop serializable data types implement WritableComparable. Because of this, I suspect TextVertexInputFormat only has WritableComparable as a bounded type for I and has a SuppressWarnings("rawtypes") annotation. I think SequenceFileVertexInputFormat should follow the same style, otherwise it's not possible to use, for example, IntComparable as vertex id type in a SequenceVertexInputFormat.

        Attachments

        1. GIRAPH-187.patch
          1 kB
          Roman K

          Activity

            People

            • Assignee:
              roman4asf Roman K
              Reporter:
              janlugt Jan van der Lugt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: