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

JmxMonitoredMap#clear triggers a query on all the MBeans thus generating lots of warnings

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.3
    • Fix Version/s: 5.4, 6.0
    • Component/s: JMX
    • Labels:
      None

      Description

      JmxMonitoredMap#clear() doesn't restrict the query to the MBeans registered by Solr thus forcing the MBeanServer to query all the registered MBeans if they have a "coreHashCode" attribute:

      QueryExp exp = Query.eq(Query.attr("coreHashCode"), Query.value(coreHashCode));
      ...
      objectNames = server.queryNames(null, exp);
      

      This triggers a lot of warnings because (I guess) DynamicMBean#getAttribute() throws AttributeNotFoundException.

      This is what I get for instance:

      2015-10-13 16:07:10,281 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,281 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,281 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,282 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,282 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,282 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,282 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,282 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,282 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,283 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,283 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,283 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,283 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,283 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,284 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,284 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,285 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,285 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,285 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,285 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,285 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,286 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,286 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,286 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,286 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,286 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,286 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,286 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,286 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,286 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,287 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,287 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,287 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,287 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,287 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,287 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,287 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,287 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,288 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,288 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,288 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,288 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,288 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,288 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,288 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,289 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,289 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,289 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,289 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,289 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,289 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,289 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,289 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,290 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,290 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,290 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,290 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,290 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,290 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,290 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,290 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,291 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,291 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,291 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,291 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,291 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,291 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,291 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,291 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,291 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,292 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,292 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,292 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,292 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,292 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,292 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,292 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,293 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,293 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,293 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,293 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,293 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,293 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,294 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,294 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,294 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,294 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,294 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,294 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,295 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,295 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,295 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,295 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,295 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,295 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,295 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,295 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,296 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,296 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,296 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,296 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,296 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,296 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,296 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,296 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,297 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,297 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,297 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,297 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,297 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,297 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,297 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,297 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,297 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,298 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,298 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,298 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,298 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,298 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,298 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,298 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,298 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,299 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,299 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,299 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,299 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,299 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,299 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,299 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,299 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,299 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,299 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,300 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,300 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,300 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,300 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,300 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,300 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,300 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,300 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,300 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,301 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,301 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      2015-10-13 16:07:10,301 [http://localhost:8080/xwiki/bin/view/Sandbox/Foo] WARN  o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute with name coreHashCode 
      

      144 "Did not find queried attribute with name coreHashCode" warnings from org.infinispan.jmx.ResourceDMBean.

      Instead of passing null to queryNames you should restrict the scope using the ObjectName parameter.

      1. SOLR-8162.patch
        2 kB
        Shalin Shekhar Mangar

        Activity

        Hide
        shalinmangar Shalin Shekhar Mangar added a comment -

        This patch fixes JmxMonitoredMap.clear to use a ObjectName that restricts the query to the jmxRootName being used by Solr.

        Show
        shalinmangar Shalin Shekhar Mangar added a comment - This patch fixes JmxMonitoredMap.clear to use a ObjectName that restricts the query to the jmxRootName being used by Solr.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1709242 from shalin@apache.org in branch 'dev/trunk'
        [ https://svn.apache.org/r1709242 ]

        SOLR-8162: JmxMonitoredMap#clear triggers a query on all the MBeans thus generating lots of warnings

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1709242 from shalin@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1709242 ] SOLR-8162 : JmxMonitoredMap#clear triggers a query on all the MBeans thus generating lots of warnings
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1709255 from shalin@apache.org in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1709255 ]

        SOLR-8162: JmxMonitoredMap#clear triggers a query on all the MBeans thus generating lots of warnings

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1709255 from shalin@apache.org in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1709255 ] SOLR-8162 : JmxMonitoredMap#clear triggers a query on all the MBeans thus generating lots of warnings
        Hide
        shalinmangar Shalin Shekhar Mangar added a comment -

        The patch had a couple of unnecessary changes which I removed before committing.

        Thanks Marius!

        Show
        shalinmangar Shalin Shekhar Mangar added a comment - The patch had a couple of unnecessary changes which I removed before committing. Thanks Marius!
        Hide
        mflorea Marius Dumitru Florea added a comment -

        Shalin Shekhar Mangar thanks for the fix!

        Show
        mflorea Marius Dumitru Florea added a comment - Shalin Shekhar Mangar thanks for the fix!

          People

          • Assignee:
            shalinmangar Shalin Shekhar Mangar
            Reporter:
            mflorea Marius Dumitru Florea
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development