You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Rick Kellogg (JIRA)" <ji...@apache.org> on 2017/09/20 14:37:01 UTC

[jira] [Commented] (KNOX-1041) High Availability Support For Apache SOLR, HBase & Kafka

    [ https://issues.apache.org/jira/browse/KNOX-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16173270#comment-16173270 ] 

Rick Kellogg commented on KNOX-1041:
------------------------------------

Example configuration for KAFKA:

{noformat}
<provider>
    <role>ha</role>
    <name>HaProvider</name>
    <enabled>true</enabled>
    <param>
        <name>KAFKA</name>
        <value>maxFailoverAttempts=3;failoverSleep=1000;enabled=true;zookeeperEnsemble=machine1:2181,machine2:2181,machine3:2181</value>
   </param>
</provider>
{noformat}

Example configuration for HBase:

{noformat}
<provider>
    <role>ha</role>
    <name>HaProvider</name>
    <enabled>true</enabled>
    <param>
        <name>WEBHBASE</name>
        <value>maxFailoverAttempts=3;failoverSleep=1000;enabled=true;zookeeperEnsemble=machine1:2181,machine2:2181,machine3:2181</value>
   </param>
</provider>
{noformat}




> High Availability Support For Apache SOLR, HBase & Kafka
> --------------------------------------------------------
>
>                 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/HBase/Kafka 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)