Giraph
  1. Giraph
  2. GIRAPH-187

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor 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.

        Activity

        Jan van der Lugt created issue -
        Roman K made changes -
        Field Original Value New Value
        Attachment GIRAPH-187.patch [ 12525068 ]
        Avery Ching made changes -
        Assignee Roman K [ roman4asf ]
        Avery Ching made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development