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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.0
    • None
    • lib
    • 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

            roman4asf Roman K
            janlugt jvdl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: