You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2014/12/12 23:52:13 UTC

[jira] [Created] (ACCUMULO-3411) Refactor VolumeManager initialization so a ServerConfigurationFactory is available

Sean Busbey created ACCUMULO-3411:
-------------------------------------

             Summary: Refactor VolumeManager initialization so a ServerConfigurationFactory is available
                 Key: ACCUMULO-3411
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3411
             Project: Accumulo
          Issue Type: Improvement
    Affects Versions: 1.7.0
            Reporter: Sean Busbey
            Priority: Minor


VolumeChooser would be improved by an init call that provided a ServerConfigurationFactory. Currently, instances that need table configuration have to instantiate their own lazily.

The initialization must be lazy because making their own instance requires an Instance object. instantiating an HDFSZooInstance requires a VolumeManager. Since the VolumeManager relies on their being a chooser, we get into a circular dependency.

Either refactor VolumeManager instantiation so there is a ServerConfigurationFactory that can be passed to the VolumeChooser or do bootstrapping with a VolumeManager that doesn't use a VC to break the cycle.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)