[
https://issues.apache.org/jira/browse/SOLR-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12874768#action_12874768
]
Hoss Man commented on SOLR-1750:
--------------------------------
1) i screwed up, and should have put this in o.a.s.handler.admin instead of
o.a.s.handler
2) Somehow i completely overlooked the fact that there is already a
o.a.s.handler.admin.SystemInfoHandler (Erik even mentioned it above) which is
registered to the path /admin/system and returns basic info on the current
machine, current JVM, the versions of Lucene/Solr, and some basic info about
the SolrCore.
With that in mind i propose we rename this new one to "SolrInfoMBeanHandler"
since that's the crux of what it provides (data about all of the
SolrInfoMBeans) and have AdminHandler register it with the path /admin/mbeans.
We could/should probably also remove some of the code that overlaps between
this handler and SystemInfoHandler.
comments?
> SystemInfoRequestHandler - replacement for stats.jsp and registry.jsp
> ---------------------------------------------------------------------
>
> Key: SOLR-1750
> URL: https://issues.apache.org/jira/browse/SOLR-1750
> Project: Solr
> Issue Type: Improvement
> Components: web gui
> Reporter: Erik Hatcher
> Assignee: Erik Hatcher
> Priority: Trivial
> Fix For: 1.5, 3.1, 4.0
>
> Attachments: SystemStatsRequestHandler.java,
> SystemStatsRequestHandler.java, SystemStatsRequestHandler.java
>
>
> stats.jsp is cool and all, but suffers from escaping issues, and also is not
> accessible from SolrJ or other standard Solr APIs.
> Here's a request handler that emits everything stats.jsp does.
> For now, it needs to be registered in solrconfig.xml like this:
> {code}
> <requestHandler name="/admin/stats"
> class="solr.SystemStatsRequestHandler" />
> {code}
> But will register this in AdminHandlers automatically before committing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]