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

Unsolicited snitch tag warnings from AttributeFetcherImpl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 9.3, 9.4
    • 9.7
    • None
    • None

    Description

      I first spotted this in 9.3, I've not gone back to check earlier versions, though it is likely to affect them too. When configuring replica placement rules on a standard out of the box deployment and creating a collection, error messages are logged like this:

      {{{{2023-09-27 08:45:58.188 ERROR (OverseerThreadFactory-19-thread-5) [] o.a.s.c.p.i.AttributeFetcherImpl Received unsolicited snitch tag heapUsage from node NodeImpl(localhost:8983_solr)
      2023-09-27 08:45:58.188 ERROR (OverseerThreadFactory-19-thread-5) [] o.a.s.c.p.i.AttributeFetcherImpl Received unsolicited snitch tag sysLoadAvg from node NodeImpl(localhost:8983_solr)
      2023-09-27 08:45:58.188 ERROR (OverseerThreadFactory-19-thread-5) [] o.a.s.c.p.i.AttributeFetcherImpl Received unsolicited snitch tag freedisk from node NodeImpl(localhost:8983_solr)
      2023-09-27 08:45:58.188 ERROR (OverseerThreadFactory-19-thread-5) [] o.a.s.c.p.i.AttributeFetcherImpl Received unsolicited snitch tag totaldisk from node NodeImpl(localhost:8983_solr)}}}}

       

      That error comes from here: https://github.com/apache/lucene-solr/commit/c7d234cafd37d824ff6642b449d3cb333d1e4a9a#r129141901

      ilan said "I suspect it was introduced with SOLR-15019 (commit) when requested tags were prefixed with sysprop. but returned tags apparently not."

       

      The error is fairly benign, it just pollutes the logs and makes it look like something is wrong but everything else functions correctly (if you aren't trying to configure rules based on those four metrics at least).

      Attachments

        Issue Links

          Activity

            People

              janhoy Jan Høydahl
              colvinco Colvin Cowie
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m