THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- failover_strategy – indicates how to define active service and contains some configuration parameters. Default value is BaseStrategy. BaseStrategy for failover has following parameters:
- retryCount – indicates how many times knox will ping name-node before knox decides that namenode is down.
- timeoutInterval – interval for connection timeout.
- enabled – indicates whether HAProvider is active or not for service.
Example UML
PlantUML | ||||
---|---|---|---|---|
| ||||
hide footbox
autonumber
participant "Deployment\nFactory\n(df)" as df |
Example Code Block
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
public class HaBaseStrategyHostMapper implements HostMapper { @Override public String resolveInboundHostName(String inboundHost) { //TODO: implement host resolution here return null; } @Override public String resolveOutboundHostName(String outboundHost) { //TODO: implement host resolution here return null; } } |
...