[
https://issues.apache.org/jira/browse/KNOX-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16166675#comment-16166675
]
Rick Kellogg commented on KNOX-1041:
------------------------------------
Configuration: Apache SOLR Cloud v 6.5 with 3 hosts
Testing scenario 1:
All SOLR hosts shutdown.
Start Knox
Start SOLR hosts
Execute queries from Knox to SOLR with success
Testing scenario 2:
Start SOLR Host 1.
Start Knox
Execute queries from Knox to SOLR with success
Shutdown SOLR Host 1
Start SOLR Host 2 & 3
Execute queries from Knox to SOLR with success
Review Knox gateway.log for failover message from Host 1 to either Host 2/3.
> High Availability Support For Apache SOLR
> -----------------------------------------
>
> Key: KNOX-1041
> URL: https://issues.apache.org/jira/browse/KNOX-1041
> Project: Apache Knox
> Issue Type: New Feature
> Components: Server
> Affects Versions: 0.12.0, 0.13.0
> Reporter: Rick Kellogg
> Assignee: Rick Kellogg
> Fix For: 0.14.0
>
> Attachments: KNOX-1041.patch
>
>
> Provide high-availability/fail-over between Knox and SOLR using the existing
> DefaultHaDispatch mechanism and a customized URLManager implementation with
> knowledge of active hosts in Zookeeper.
> When SOLR Cloud is used the active hosts are stored in Zookeeper under the
> /live_nodes path. The attached custom URLManager implementation queries
> Zookeeper for the active hosts upon startup. In the event of fail-over, it
> updates the internal list of hosts.
> The HS2ZookeeperURLManager implementation used to provide similar
> functionality for Hive was used as a starting point.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)