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

Config and using SolrGangliaReporter, encounters an ClassNotDefException

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 7.3.1, 7.4, 8.0
    • Fix Version/s: None
    • Component/s: Build
    • Labels:

      Description

      Config and using SolrGangliaReporter, then start solr service encounters the ClassNotDefException bellow:

      java.lang.NoClassDefFoundError: org/acplt/oncrpc/XdrEncodingStream
      at info.ganglia.gmetric4j.gmetric.GMetric.<init>(GMetric.java:82)
      at info.ganglia.gmetric4j.gmetric.GMetric.<init>(GMetric.java:58)
      at info.ganglia.gmetric4j.gmetric.GMetric.<init>(GMetric.java:40)
      at org.apache.solr.metrics.reporters.SolrGangliaReporter.lambda$start$0(SolrGangliaReporter.java:106)
      at org.apache.solr.metrics.reporters.ReporterClientCache.getOrCreate(ReporterClientCache.java:59)
      at org.apache.solr.metrics.reporters.SolrGangliaReporter.start(SolrGangliaReporter.java:106)
      at
      ......
      Caused by: java.lang.ClassNotFoundException: org.acplt.oncrpc.XdrEncodingStream
      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:448)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:380)

      It should be configurated an dependency in solr/server/ivy.xml as default.

        Attachments

        1. ExceptionDetail.log
          5 kB
          tinswzy
        2. SOLR-12573-1.patch
          1 kB
          tinswzy

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tinswzy tinswzy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: