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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: