You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Chris Hillery (JIRA)" <ji...@apache.org> on 2016/06/25 07:37:41 UTC

[jira] [Created] (ASTERIXDB-1503) Make AsterixClusterProperties wrap IApplicationConfig

Chris Hillery created ASTERIXDB-1503:
----------------------------------------

             Summary: Make AsterixClusterProperties wrap IApplicationConfig
                 Key: ASTERIXDB-1503
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1503
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: AsterixDB, Configuration
            Reporter: Chris Hillery
            Priority: Critical


AsterixPropertiesAccessor was modified to wrap either the old-school asterix-configuration.xml or the new-school IApplicationConfig. A similar change needs to be done to AsterixClusterProperties, which currently wraps cluster.xml. This is a somewhat larger job because the JAXB classes for cluster.xml have "escaped" AsterixClusterProperties and are used directly by other parts of the code.

One specific symptom of this is that it isn't possible to override the name "storage" for the per-partition subdirectory of iodevices, because it is being read from a built-in default cluster.xml.

In general there are a number of places that read in configuration and several that maintain lists of nodes, and this duplication occasionally leads to conflicts.



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