Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10319

SolrCore "instanceDir" metric not visible in JMX

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.5, 7.0
    • Fix Version/s: 6.5, 7.0
    • Component/s: metrics
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      This metric exposes SolrResourceLoader.getInstancePath() as a gauge but java.nio.Path is not one of the OpenType allowed classes, and it shows up as "Unavailable" in JConsole.

      The fix is to simply convert it toString.

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit a3e4f57e1b520787fc332bf7471d68331af65e25 in lucene-solr's branch refs/heads/master from Andrzej Bialecki
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=a3e4f57 ]

        SOLR-10319 SolrCore "instanceDir" metric not visible in JMX.

        Show
        jira-bot ASF subversion and git services added a comment - Commit a3e4f57e1b520787fc332bf7471d68331af65e25 in lucene-solr's branch refs/heads/master from Andrzej Bialecki [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=a3e4f57 ] SOLR-10319 SolrCore "instanceDir" metric not visible in JMX.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit e9272b11d4f84c6723943832d6a49ce7ef27b391 in lucene-solr's branch refs/heads/branch_6x from Andrzej Bialecki
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=e9272b1 ]

        SOLR-10319 SolrCore "instanceDir" metric not visible in JMX.

        Show
        jira-bot ASF subversion and git services added a comment - Commit e9272b11d4f84c6723943832d6a49ce7ef27b391 in lucene-solr's branch refs/heads/branch_6x from Andrzej Bialecki [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=e9272b1 ] SOLR-10319 SolrCore "instanceDir" metric not visible in JMX.

          People

          • Assignee:
            ab Andrzej Bialecki
            Reporter:
            ab Andrzej Bialecki
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development