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

Larry McCay commented on KNOX-843:
----------------------------------

[~moresandeep] - thank you for the additional review!

I am actually thinking that we should push this out of the 0.13.0 release.

It seems to be a good start but it has raised additional questions in my mind, 
in fact.

For instance, any particular service has its own particular HA mode - be it 
active-active or active-passive. It shouldn't have to be configured in every 
topology to turn on haActive or not. It should be part of the service 
definition itself.

Instead of adding this capability to the DefaultHaDispatch, I propose that a 
new LoadBalancingHaDispatch be created and that can be selected in the service 
definitions for those services that are indeed active-active.

{code}
<dispatch classname="org.apache.hadoop.gateway.ha.dispatch.DefaultHaDispatch" 
ha-classname="org.apache.hadoop.gateway.ha.dispatch.LoadBalancingHaDispatch"/>
{code}

This would remove the need to configure it in the topology.

I am going to move this to the 0.14.0 release for now.
If it is seen as critical for 0.13.0 and we can turn it around in a few days 
then we can move it back in.

> Add support for load balancing across HA instances
> --------------------------------------------------
>
>                 Key: KNOX-843
>                 URL: https://issues.apache.org/jira/browse/KNOX-843
>             Project: Apache Knox
>          Issue Type: New Feature
>          Components: Server
>    Affects Versions: 0.11.0
>            Reporter: Sam Hjelmfelt
>            Assignee: Jeffrey E  Rodriguez
>             Fix For: 0.14.0
>
>         Attachments: KNOX-843.001.patch, KNOX-843.002.patch, KNOX-843.patch, 
> KNOX-843.pdf
>
>
> Knox should support load balancing across HA service instances rather than 
> just offering failover.
> One solution may be to add an option to the HAProvider. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to