[jira] [Commented] (HBASE-8711) Requests count is completely off

2013-09-27 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13779874#comment-13779874
 ] 

Hudson commented on HBASE-8711:
---

SUCCESS: Integrated in hbase-0.96-hadoop2 #61 (See 
[https://builds.apache.org/job/hbase-0.96-hadoop2/61/])
HBASE-8711 Requests count is completely off (jdcryans: rev 1526753)
* 
/hbase/branches/0.96/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java


 Requests count is completely off
 

 Key: HBASE-8711
 URL: https://issues.apache.org/jira/browse/HBASE-8711
 Project: HBase
  Issue Type: Bug
  Components: UI
Affects Versions: 0.95.1
Reporter: Jean-Daniel Cryans
Assignee: James Kinley
 Fix For: 0.98.0, 0.96.0

 Attachments: HBASE-8711-1.patch, RPS-TEST-1.log, RPS-TEST-2.log


 I tried 0.95.1 RC1 in standalone, and the requests count in both the master 
 and RS web UIs are wrong. I haven't dug too much in but it seems too low when 
 I'm sending load, and it takes 10 seconds to clear up when the cluster 
 becomes completely idle.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8711) Requests count is completely off

2013-09-27 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13779918#comment-13779918
 ] 

Hudson commented on HBASE-8711:
---

FAILURE: Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #765 (See 
[https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/765/])
HBASE-8711 Requests count is completely off (James Kinley via JD) (jdcryans: 
rev 1526754)
* 
/hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java


 Requests count is completely off
 

 Key: HBASE-8711
 URL: https://issues.apache.org/jira/browse/HBASE-8711
 Project: HBase
  Issue Type: Bug
  Components: UI
Affects Versions: 0.95.1
Reporter: Jean-Daniel Cryans
Assignee: James Kinley
 Fix For: 0.98.0, 0.96.0

 Attachments: HBASE-8711-1.patch, RPS-TEST-1.log, RPS-TEST-2.log


 I tried 0.95.1 RC1 in standalone, and the requests count in both the master 
 and RS web UIs are wrong. I haven't dug too much in but it seems too low when 
 I'm sending load, and it takes 10 seconds to clear up when the cluster 
 becomes completely idle.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8711) Requests count is completely off

2013-09-26 Thread Elliott Clark (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13779468#comment-13779468
 ] 

Elliott Clark commented on HBASE-8711:
--

+1 lgtm

 Requests count is completely off
 

 Key: HBASE-8711
 URL: https://issues.apache.org/jira/browse/HBASE-8711
 Project: HBase
  Issue Type: Bug
  Components: UI
Affects Versions: 0.95.1
Reporter: Jean-Daniel Cryans
Assignee: James Kinley
 Fix For: 0.96.0

 Attachments: HBASE-8711-1.patch, RPS-TEST-1.log, RPS-TEST-2.log


 I tried 0.95.1 RC1 in standalone, and the requests count in both the master 
 and RS web UIs are wrong. I haven't dug too much in but it seems too low when 
 I'm sending load, and it takes 10 seconds to clear up when the cluster 
 becomes completely idle.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8711) Requests count is completely off

2013-09-26 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13779640#comment-13779640
 ] 

Hudson commented on HBASE-8711:
---

SUCCESS: Integrated in hbase-0.96 #100 (See 
[https://builds.apache.org/job/hbase-0.96/100/])
HBASE-8711 Requests count is completely off (jdcryans: rev 1526753)
* 
/hbase/branches/0.96/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java


 Requests count is completely off
 

 Key: HBASE-8711
 URL: https://issues.apache.org/jira/browse/HBASE-8711
 Project: HBase
  Issue Type: Bug
  Components: UI
Affects Versions: 0.95.1
Reporter: Jean-Daniel Cryans
Assignee: James Kinley
 Fix For: 0.98.0, 0.96.0

 Attachments: HBASE-8711-1.patch, RPS-TEST-1.log, RPS-TEST-2.log


 I tried 0.95.1 RC1 in standalone, and the requests count in both the master 
 and RS web UIs are wrong. I haven't dug too much in but it seems too low when 
 I'm sending load, and it takes 10 seconds to clear up when the cluster 
 becomes completely idle.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8711) Requests count is completely off

2013-09-26 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13779651#comment-13779651
 ] 

Hudson commented on HBASE-8711:
---

SUCCESS: Integrated in HBase-TRUNK #4567 (See 
[https://builds.apache.org/job/HBase-TRUNK/4567/])
HBASE-8711 Requests count is completely off (James Kinley via JD) (jdcryans: 
rev 1526754)
* 
/hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java


 Requests count is completely off
 

 Key: HBASE-8711
 URL: https://issues.apache.org/jira/browse/HBASE-8711
 Project: HBase
  Issue Type: Bug
  Components: UI
Affects Versions: 0.95.1
Reporter: Jean-Daniel Cryans
Assignee: James Kinley
 Fix For: 0.98.0, 0.96.0

 Attachments: HBASE-8711-1.patch, RPS-TEST-1.log, RPS-TEST-2.log


 I tried 0.95.1 RC1 in standalone, and the requests count in both the master 
 and RS web UIs are wrong. I haven't dug too much in but it seems too low when 
 I'm sending load, and it takes 10 seconds to clear up when the cluster 
 becomes completely idle.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8711) Requests count is completely off

2013-09-25 Thread James Kinley (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13777370#comment-13777370
 ] 

James Kinley commented on HBASE-8711:
-


There are a couple of things going on here. The first issue is that the point 
in time metrics for a region server are only computed every 15 seconds and 
therefore requestsPerSecond is actually an average for the previous interval:

{code}
requestsPerSecond = (numberRequestsSinceLastRun / secondsSinceLastRun)
{code}

The client write buffer also confuses things because the writes are delayed 
reaching the server, then the server can take up to 15 seconds to include them 
in the metrics, and another 15 seconds to clear them down.

The second issue is that the requestCount counter used to compute 
requestsPerSecond is incremented for every region server operation (i.e. 
including requests for region info and not just for mutations) and is therefore 
higher than expected.

I've attached the results of two tests to show whats happening. The same client 
was used in both tests to generate 100 req/sec for 60 seconds (6000 writes):

In the first test (RPS-TEST-1.log) the client write buffer was enabled and you 
can see that it took 52 seconds before the writes appeared in the metrics, and 
because they were all sent at once requestsPerSecond was skewed at 09:07:28 
(requestsPerSecond: 602.7862951606452). It took a further 30 seconds before 
requestsPerSecond returned to 0. Also, writeRequestsCount was only incremented 
once for each flush, and the individual writes were not counted 
(tempWriteRequestsCount = 4).

In the second test (RPS-TEST-2.log) the client write buffer was disabled and 
you can see that the writes started to appear in the metrics after the next 
metric computation was run (15 seconds), and requestsPerSecond hovered at ~170 
for the duration of the test. The writes were also counted individually 
(tempWriteRequestsCount = 6004).

Both tests show an increase of over 12000 requests for 6000 writes.

Computing requestsPerSecond from the requestCount counter makes sense, but the 
interval should at least be configurable and be lower by default (maybe 5 
seconds).

 Requests count is completely off
 

 Key: HBASE-8711
 URL: https://issues.apache.org/jira/browse/HBASE-8711
 Project: HBase
  Issue Type: Bug
  Components: UI
Affects Versions: 0.95.1
Reporter: Jean-Daniel Cryans
Assignee: James Kinley
 Fix For: 0.96.0


 I tried 0.95.1 RC1 in standalone, and the requests count in both the master 
 and RS web UIs are wrong. I haven't dug too much in but it seems too low when 
 I'm sending load, and it takes 10 seconds to clear up when the cluster 
 becomes completely idle.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8711) Requests count is completely off

2013-08-12 Thread James Kinley (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13736812#comment-13736812
 ] 

James Kinley commented on HBASE-8711:
-

Hey Elliott. Are you working on this at the moment? If not, I was going to take 
a look if thats ok with you?

 Requests count is completely off
 

 Key: HBASE-8711
 URL: https://issues.apache.org/jira/browse/HBASE-8711
 Project: HBase
  Issue Type: Bug
  Components: UI
Affects Versions: 0.95.1
Reporter: Jean-Daniel Cryans
Assignee: Elliott Clark
 Fix For: 0.95.2


 I tried 0.95.1 RC1 in standalone, and the requests count in both the master 
 and RS web UIs are wrong. I haven't dug too much in but it seems too low when 
 I'm sending load, and it takes 10 seconds to clear up when the cluster 
 becomes completely idle.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8711) Requests count is completely off

2013-08-12 Thread Elliott Clark (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13736987#comment-13736987
 ] 

Elliott Clark commented on HBASE-8711:
--

That would be great.  Unfortunately this has fallen off my plate lately.

 Requests count is completely off
 

 Key: HBASE-8711
 URL: https://issues.apache.org/jira/browse/HBASE-8711
 Project: HBase
  Issue Type: Bug
  Components: UI
Affects Versions: 0.95.1
Reporter: Jean-Daniel Cryans
Assignee: Elliott Clark
 Fix For: 0.95.2


 I tried 0.95.1 RC1 in standalone, and the requests count in both the master 
 and RS web UIs are wrong. I haven't dug too much in but it seems too low when 
 I'm sending load, and it takes 10 seconds to clear up when the cluster 
 becomes completely idle.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira