Solr
  1. Solr
  2. SOLR-1750

SolrInfoMBeanHandler - replacement for stats.jsp and registry.jsp

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5, 3.1, 4.0-ALPHA
    • Component/s: web gui
    • Labels:
      None

      Description

      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:

          <requestHandler name="/admin/stats" class="solr.SystemStatsRequestHandler" />
      

      But will register this in AdminHandlers automatically before committing.

      1. SOLR-1750-followup.patch
        10 kB
        Hoss Man
      2. SystemStatsRequestHandler.java
        4 kB
        Hoss Man
      3. SystemStatsRequestHandler.java
        4 kB
        Hoss Man
      4. SystemStatsRequestHandler.java
        2 kB
        Erik Hatcher

        Activity

        Grant Ingersoll made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hoss Man made changes -
        Summary SystemInfoRequestHandler - replacement for stats.jsp and registry.jsp SolrInfoMBeanHandler - replacement for stats.jsp and registry.jsp
        Hoss Man made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hoss Man made changes -
        Attachment SOLR-1750-followup.patch [ 12446909 ]
        Hoss Man made changes -
        Fix Version/s 1.5 [ 12313566 ]
        Fix Version/s 3.1 [ 12314371 ]
        Fix Version/s 4.0 [ 12314992 ]
        Fix Version/s Next [ 12315093 ]
        Hoss Man made changes -
        Fix Version/s Next [ 12315093 ]
        Fix Version/s 1.5 [ 12313566 ]
        Hoss Man made changes -
        Summary SystemStatsRequestHandler - replacement for stats.jsp SystemInfoRequestHandler - replacement for stats.jsp and registry.jsp
        Hoss Man made changes -
        Attachment SystemStatsRequestHandler.java [ 12434914 ]
        Hoss Man made changes -
        Attachment SystemStatsRequestHandler.java [ 12434909 ]
        Erik Hatcher made changes -
        Field Original Value New Value
        Attachment SystemStatsRequestHandler.java [ 12434671 ]
        Erik Hatcher created issue -

          People

          • Assignee:
            Erik Hatcher
            Reporter:
            Erik Hatcher
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development