gauging cost of region movement

2011-03-21 Thread Ted Yu
Can we add a counter for the number of InternalScanner's to HRegion ? We decrement this counter when close() is called. Such counter can be used to gauge the cost of moving the underlying region. Cheers

RE: gauging cost of region movement

2011-03-21 Thread Jonathan Gray
requests that incur a cost, not just active scanners). JG -Original Message- From: Ted Yu [mailto:yuzhih...@gmail.com] Sent: Monday, March 21, 2011 3:44 PM To: dev@hbase.apache.org Subject: gauging cost of region movement Can we add a counter for the number of InternalScanner's

RE: gauging cost of region movement

2011-03-21 Thread Jonathan Gray
Also, using more stable measures of request count will help, such as 30 minute rolling averages. -Original Message- From: Jonathan Gray [mailto:jg...@fb.com] Sent: Monday, March 21, 2011 4:23 PM To: dev@hbase.apache.org Subject: RE: gauging cost of region movement

Re: gauging cost of region movement

2011-03-21 Thread Ryan Rawson
, such as 30 minute rolling averages. -Original Message- From: Jonathan Gray [mailto:jg...@fb.com] Sent: Monday, March 21, 2011 4:23 PM To: dev@hbase.apache.org Subject: RE: gauging cost of region movement This is an interesting direction, and definitely file a JIRA as this could

Re: gauging cost of region movement

2011-03-21 Thread Ted Yu
, 2011 4:23 PM To: dev@hbase.apache.org Subject: RE: gauging cost of region movement This is an interesting direction, and definitely file a JIRA as this could be an additional metric in the future, but it's not exactly what I had in mind. One of the hardest parts of load balancing