lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Commit Tag Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-4342) stats of SolrInfoMBeanHandler have mixed structure
Date Mon, 28 Jan 2013 18:17:14 GMT

    [ https://issues.apache.org/jira/browse/SOLR-4342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13564475#comment-13564475
] 

Commit Tag Bot commented on SOLR-4342:
--------------------------------------

[branch_4x commit] Chris M. Hostetter
http://svn.apache.org/viewvc?view=revision&revision=1439544

SOLR-4342: Fix DataImportHandler stats to be a prper Map (merge r1439536)

                
> stats of SolrInfoMBeanHandler have mixed structure
> --------------------------------------------------
>
>                 Key: SOLR-4342
>                 URL: https://issues.apache.org/jira/browse/SOLR-4342
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Stefan Matheis (steffkes)
>            Assignee: Hoss Man
>            Priority: Minor
>             Fix For: 4.2, 5.0
>
>
> Not sure which Component fits for this?!
> Calling {{/admin/mbeans?stats=true&wt=json}} normally gives this for an entry:
> {code}"/admin/mbeans": {
>   "class": "org.apache.solr.handler.admin.SolrInfoMBeanHandler",
>   "version": "5.0.0.2013.01.22.17.57.48",
>   "description": "Get Info (and statistics) for registered SolrInfoMBeans",
>   "src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/core/src/java/org/apache/solr/handler/admin/SolrInfoMBeanHandler.java
$",
>   "stats": {
>     "handlerStart": 1358960935983,
>     "requests": 16,
>     "errors": 0,
>     "timeouts": 0,
>     "totalTime": 238.636824,
>     "avgRequestsPerSecond": 0.0010339617096334008,
>     "5minRateReqsPerSecond": 0.009435751279543023,
>     "15minRateReqsPerSecond": 0.008764046777884586,
>     "avgTimePerRequest": 15.909121599999999,
>     "medianRequestTime": 15.43261,
>     "75thPcRequestTime": 16.544159,
>     "95thPcRequestTime": 24.570421,
>     "99thPcRequestTime": 24.570421,
>     "999thPcRequestTime": 24.570421
>   }
> },{code}
> but for instances of {{DataImportHandler}} it looks like this:
> {code}"/dataimport": {
>   "class": "org.apache.solr.handler.dataimport.DataImportHandler",
>   "version": "5.0.0.2013.01.12.19.48.17",
>   "description": "Manage data import from databases to Solr",
>   "src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DataImportHandler.java
$",
>   "stats": [
>     "Status",
>     "IDLE",
>     "Total Documents Processed",
>     "java.util.concurrent.atomic.AtomicLong:0",
>     "Total Requests made to DataSource",
>     "java.util.concurrent.atomic.AtomicLong:0",
>     "Total Rows Fetched",
>     "java.util.concurrent.atomic.AtomicLong:0",
>     "Total Documents Deleted",
>     "java.util.concurrent.atomic.AtomicLong:0",
>     "Total Documents Skipped",
>     "java.util.concurrent.atomic.AtomicLong:0",
>     "handlerStart",
>     1358960935773,
>     "requests",
>     1,
>     "errors",
>     0,
>     "timeouts",
>     0,
>     "totalTime",
>     0.946654,
>     "avgRequestsPerSecond",
>     0.00006892979803330725,
>     "5minRateReqsPerSecond",
>     8.281462403544473e-23,
>     "15minRateReqsPerSecond",
>     3.2421452678347006e-10,
>     "avgTimePerRequest",
>     0.946654,
>     "medianRequestTime",
>     0.946654,
>     "75thPcRequestTime",
>     0.946654,
>     "95thPcRequestTime",
>     0.946654,
>     "99thPcRequestTime",
>     0.946654,
>     "999thPcRequestTime",
>     0.946654
>   ]
> },{code}
> if i recall another issue correctly, that has something to do with using (or otherwise
not using) {{SimpleOrderedMap}} oO

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message