[jira] [Updated] (HBASE-5197) [replication] Handle socket timeouts in ReplicationSource to prevent DDOS

2012-02-13 Thread Jean-Daniel Cryans (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-5197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Daniel Cryans updated HBASE-5197:
--

Attachment: HBASE-5197-v2.patch

More like this?

> [replication] Handle socket timeouts in ReplicationSource to prevent DDOS
> -
>
> Key: HBASE-5197
> URL: https://issues.apache.org/jira/browse/HBASE-5197
> Project: HBase
>  Issue Type: Improvement
>Affects Versions: 0.90.5
>Reporter: Jean-Daniel Cryans
>Assignee: Jean-Daniel Cryans
> Fix For: 0.94.0, 0.90.7, 0.92.1
>
> Attachments: HBASE-5197-v2.patch, HBASE-5197.patch
>
>
> Kind of like HBASE-4462 but for replication. If while replicating you get a 
> socket timeout, the last thing you want to do is to retry it right away. 
> Since we can't fail the replication thread, the best I can think of is to 
> sleep a really long amount of time.
> Planning to bring this to all branches.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HBASE-5197) [replication] Handle socket timeouts in ReplicationSource to prevent DDOS

2012-02-13 Thread Jean-Daniel Cryans (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-5197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Daniel Cryans updated HBASE-5197:
--

Attachment: HBASE-5197.patch

Adding the handling of the exception with a sleep of 100 seconds by default. In 
my testing this has prevented DDOSing.

> [replication] Handle socket timeouts in ReplicationSource to prevent DDOS
> -
>
> Key: HBASE-5197
> URL: https://issues.apache.org/jira/browse/HBASE-5197
> Project: HBase
>  Issue Type: Improvement
>Affects Versions: 0.90.5
>Reporter: Jean-Daniel Cryans
>Assignee: Jean-Daniel Cryans
> Fix For: 0.94.0, 0.90.7, 0.92.1
>
> Attachments: HBASE-5197.patch
>
>
> Kind of like HBASE-4462 but for replication. If while replicating you get a 
> socket timeout, the last thing you want to do is to retry it right away. 
> Since we can't fail the replication thread, the best I can think of is to 
> sleep a really long amount of time.
> Planning to bring this to all branches.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HBASE-5197) [replication] Handle socket timeouts in ReplicationSource to prevent DDOS

2012-01-26 Thread ramkrishna.s.vasudevan (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-5197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ramkrishna.s.vasudevan updated HBASE-5197:
--

Fix Version/s: (was: 0.90.6)
   0.90.7

Updating affect versions to 0.90.7

> [replication] Handle socket timeouts in ReplicationSource to prevent DDOS
> -
>
> Key: HBASE-5197
> URL: https://issues.apache.org/jira/browse/HBASE-5197
> Project: HBase
>  Issue Type: Improvement
>Affects Versions: 0.90.5
>Reporter: Jean-Daniel Cryans
>Assignee: Jean-Daniel Cryans
> Fix For: 0.94.0, 0.90.7, 0.92.1
>
>
> Kind of like HBASE-4462 but for replication. If while replicating you get a 
> socket timeout, the last thing you want to do is to retry it right away. 
> Since we can't fail the replication thread, the best I can think of is to 
> sleep a really long amount of time.
> Planning to bring this to all branches.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira