You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by Bean Edwards <ed...@gmail.com> on 2014/01/10 16:13:50 UTC
Flume RPC back off bug ?
Hello guys:
I'm using LoadBalancingLog4jAppender.To be failoverUnder the
condition of one of log server is down. If I set a max back off
time,LoadBalancingLog4jAppender will try to reconnect log server after a
time( generate by exponential backoff algorithm in class OrderSelector)
The problems is that, the time generate by exponential backoff
algorithm always be 2000ms. not increating by algorithm.
Re: Flume RPC back off bug ?
Posted by Jeff Lord <jl...@cloudera.com>.
Bean,
Can you please open a jira?
Thank You,
Jeff
On Fri, Jan 10, 2014 at 7:16 AM, Bean Edwards <ed...@gmail.com> wrote:
> If I change the condition (allowableDiff > delta) to
> (allowableDiff < delta), it works fine. from line 103 of OrderSelector
>
>
> On Fri, Jan 10, 2014 at 11:13 PM, Bean Edwards <ed...@gmail.com>wrote:
>
>> Hello guys:
>> I'm using LoadBalancingLog4jAppender.To be failoverUnder the
>> condition of one of log server is down. If I set a max back off
>> time,LoadBalancingLog4jAppender will try to reconnect log server after a
>> time( generate by exponential backoff algorithm in class OrderSelector)
>> The problems is that, the time generate by exponential backoff
>> algorithm always be 2000ms. not increating by algorithm.
>>
>
>
Re: Flume RPC back off bug ?
Posted by Bean Edwards <ed...@gmail.com>.
If I change the condition (allowableDiff > delta) to (allowableDiff
< delta), it works fine. from line 103 of OrderSelector
On Fri, Jan 10, 2014 at 11:13 PM, Bean Edwards <ed...@gmail.com>wrote:
> Hello guys:
> I'm using LoadBalancingLog4jAppender.To be failoverUnder the
> condition of one of log server is down. If I set a max back off
> time,LoadBalancingLog4jAppender will try to reconnect log server after a
> time( generate by exponential backoff algorithm in class OrderSelector)
> The problems is that, the time generate by exponential backoff
> algorithm always be 2000ms. not increating by algorithm.
>