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

HBaseVertex i/o formats are not being injected with Configuration via Configurable interface

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • None
    • None

    Description

      I reinstalled the latest giraph version from trunk.

      When running the unit tests, I noticed the setConf(Configuration conf) is not being called, and therefore the delegate 'tableInputFormat' is never being configured properly. The Accumulo i/o formats use static setters to avoid this requirement. That has the unfortunate side effect of having to remember to call those before setting up GiraphJob.

      I can add this same static-method solution to HBaseVertex i/o, depending on whether Configurable is an easy fix. I would imagine other input/output formats would have this same issue.

      If static setters are acceptable (same as Accumulo) I can add that to the Giraph-336 patch.

      Attachments

        1. GIRAPH-350.patch
          68 kB
          Brian Femiano

        Activity

          People

            bfem Brian Femiano
            bfem Brian Femiano
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: