Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • packages
  • upgrades

This means you can't include the files you want to add or replace from the parent's packages or upgrades folderthe files included in those directories at the parent level will not be inherited.  You will need to copy all the files you wish to keep from that directory structure.

 

The configurations directory in the current service version merges the configuration files with the exception of those which are no longer relevant to your service version.those from the parent service version.  Configuration files defined at any level can be omitted from the services configurations by specifying the config-type in the excluded-config-types list:

      <excluded-config-types>
        <config-type>storm-site</config-type>
      </excluded-config-types>

For an individual configuration file (or configuration type) like core-site.xml, it will by default merge with the configuration type from the parent.  If the `supports_do_not_extend` attribute is specified as `true`, the configuration type will not be merged.

<configuration supports_do_not_extend="true">

 

Inheritance and the Service MetaInfo

...

        <component>
          <name>ZKFC</name>
          <displayName>ZKFailoverController</displayName>
          <category>SLAVE</category>

 

 

  configurations are merged with those of the parent (supports delete)

  excluded config types are merged with those of the parent

...