[jira] [Updated] (HBASE-6207) Add jitter to client retry timer

2012-06-21 Thread Jean-Daniel Cryans (JIRA)

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

Jean-Daniel Cryans updated HBASE-6207:
--

   Resolution: Fixed
Fix Version/s: 0.96.0
 Release Note: The retries in the client now have a jitter of up to 1% of 
the normal computed sleep time.
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

To close the debate on initializing Random, here's the 1.6 code:

{code}
public Random() { this(++seedUniquifier + System.nanoTime()); }
private static volatile long seedUniquifier = 8682522807148012L;
{code}

Thus I'm +1 and I committed it to trunk. Thanks Elliott!

 Add jitter to client retry timer
 

 Key: HBASE-6207
 URL: https://issues.apache.org/jira/browse/HBASE-6207
 Project: HBase
  Issue Type: Improvement
Reporter: Elliott Clark
Assignee: Elliott Clark
 Fix For: 0.96.0

 Attachments: HBASE-6207-0.patch




--
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-6207) Add jitter to client retry timer

2012-06-21 Thread Andrew Purtell (JIRA)

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

Andrew Purtell updated HBASE-6207:
--

Fix Version/s: 0.94.1

Committed to 0.94 branch also at Elliott's recommendation. New test 
TestConnectionUtils passes locally. Running full test suite now to confirm 
remainder and will back out if there's a problem.

 Add jitter to client retry timer
 

 Key: HBASE-6207
 URL: https://issues.apache.org/jira/browse/HBASE-6207
 Project: HBase
  Issue Type: Improvement
Reporter: Elliott Clark
Assignee: Elliott Clark
 Fix For: 0.96.0, 0.94.1

 Attachments: HBASE-6207-0.patch




--
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-6207) Add jitter to client retry timer

2012-06-15 Thread Elliott Clark (JIRA)

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

Elliott Clark updated HBASE-6207:
-

Attachment: HBASE-6207-0.patch

[~nspiegelberg]
The client already has a semi exponential back off so I just added a jitter 
that was up to 1% of the previously calculated value.

Also added a test.

 Add jitter to client retry timer
 

 Key: HBASE-6207
 URL: https://issues.apache.org/jira/browse/HBASE-6207
 Project: HBase
  Issue Type: Improvement
Reporter: Elliott Clark
Assignee: Elliott Clark
 Attachments: HBASE-6207-0.patch




--
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-6207) Add jitter to client retry timer

2012-06-15 Thread Elliott Clark (JIRA)

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

Elliott Clark updated HBASE-6207:
-

Status: Patch Available  (was: Open)

 Add jitter to client retry timer
 

 Key: HBASE-6207
 URL: https://issues.apache.org/jira/browse/HBASE-6207
 Project: HBase
  Issue Type: Improvement
Reporter: Elliott Clark
Assignee: Elliott Clark
 Attachments: HBASE-6207-0.patch




--
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