The jumbo.config
configuration file provides configuration that is common to the Jumbo DFS and Jumbo Jet.
ookii.jumbo
elementookii.jumbo/networkTopology
elementookii.jumbo/patternTopologyResolver
elementookii.jumbo/patternTopologyResolver/racks
elementookii.jumbo/patternTopologyResolver/racks/rack
elementookii.jumbo/patternTopologyResolver/racks/remove
elementookii.jumbo/patternTopologyResolver/racks/clear
elementookii.jumbo/log
elementPatternType
typeookii.jumbo
element
The <ookii.jumbo>
element contains global configuration for Jumbo.
<ookii.jumbo> </ookii.jumbo>
Element | Min occurs | Max occurs |
---|---|---|
<networkTopology> | 0 | 1 |
<patternTopologyResolver> | 0 | 1 |
<log> | 0 | 1 |
ookii.jumbo/networkTopology
element
The <networkTopology>
element configures network topology support (rack-awareness).
<networkTopology resolver=xs:string />
Attribute | Use | Description |
---|---|---|
resolver | optional |
Specifies the type of a class implementing ITopologyResolver that is used to resolve the rack that a node belongs to.
The default value is "Ookii.Jumbo.Topology.PatternTopologyResolver, Ookii.Jumbo". |
ookii.jumbo/patternTopologyResolver
element
The <patternTopologyResolver>
configures the network topology support using the PatternTopologyResolver
class.
This configuration element is only used if the resolver
attribute of the <networkTopology>
element
is set to "Ookii.Jumbo.Topology.PatternTopologyResolver, Ookii.Jumbo".
<patternTopologyResolver patternType=PatternType> </patternTopologyResolver>
Attribute | Use | Description |
---|---|---|
patternType | optional |
Specifies the type of pattern used by the PatternTopologyResolver .
The default value is "RegularExpression". |
Element | Min occurs | Max occurs |
---|---|---|
<racks> | 1 | 1 |
ookii.jumbo/patternTopologyResolver/racks
element
The <racks>
element provides a collection of racks defined by the PatternTopologyResolver
.
<racks> </racks>
Element | Min occurs | Max occurs |
---|---|---|
<rack> | 0 | unbounded |
<remove> | 0 | unbounded |
<clear> | 0 | unbounded |
ookii.jumbo/patternTopologyResolver/racks/rack
element
The <rack>
element adds a rack to the <racks>
collection.
<rack id=xs:string pattern=xs:string />
Attribute | Use | Description |
---|---|---|
id | required | A string value that uniquely identifies the rack. |
pattern | required |
The pattern that matches the names of the nodes in this rack. Depending on the patternType attribute of
the <patternTopologyResolver> element, this pattern
is either a regular expression or a range expression.
|
ookii.jumbo/patternTopologyResolver/racks/remove
element
The <remove>
element removes a rack from the <racks>
collection.
<remove id=xs:string />
Attribute | Use | Description |
---|---|---|
id | required | A string value that uniquely identifies the rack. |
ookii.jumbo/patternTopologyResolver/racks/clear
element
The <clear>
element removes all racks from the <racks>
collection.
<clear />
ookii.jumbo/log
element
The <log>
element provides configuration for Jumbo's logging system.
<log directory=xs:string />
Attribute | Use | Description |
---|---|---|
directory | optional |
Specifies the directory containing the Jumbo assemblies. If this a relative path, it is relative to the directory containing Jumbo's assemblies.
If you change this value, you should also change the corresponsing value in Jumbo-Config.ps1 or jumbo-config.sh .
The default value is "./log/". |
PatternType
type
The type of pattern used by the PatternTopologyResolver
.
Value | Description |
---|---|
RegularExpression | The patterns are regular expressions. |
RangeExpression |
The patterns are range expressions (see the |