Page MenuHomePhabricator

"scanned from multiple locations" errors when launching Blazegraph
Closed, DeclinedPublic

Description

After upgrade to jetty 9.4, launching Blazegraph produces a myriad of messages like this:

Nov 08 07:40:49 wdqs1009 wdqs-blazegraph[14876]: 2018-11-08 07:39:15.203:WARN:oeja.AnnotationParser:qtp1321640594-37: com.bigdata.bop.joinGraph.fast.DefaultEvaluationPlan2$Tail scanned from multiple locations: jar:file:///tmp/jetty-localhost-9999-blazegraph-service-0.3.1-SNAPSHOT.war-_bigdata-any-4225499852935337526.dir/webapp/WEB-INF/lib/bigdata-core-2.1.5-SNAPSHOT.jar!/com/bigdata/bop/joinGraph/fast/DefaultEvaluationPlan2$Tail.class, jar:file:///tmp/jetty-localhost-9999-blazegraph-service-0.3.1-SNAPSHOT.war-_bigdata-any-4225499852935337526.dir/webapp/WEB-INF/lib/bigdata-runtime-2.1.5-SNAPSHOT.jar!/com/bigdata/bop/joinGraph/fast/DefaultEvaluationPlan2$Tail.class
Nov 08 07:40:49 wdqs1009 wdqs-blazegraph[14876]: 2018-11-08 07:39:15.203:WARN:oeja.AnnotationParser:qtp1321640594-37: com.bigdata.bop.joinGraph.fast.DefaultEvaluationPlan2$IJoinDimension scanned from multiple locations: jar:file:///tmp/jetty-localhost-9999-blazegraph-service-0.3.1-SNAPSHOT.war-_bigdata-any-4225499852935337526.dir/webapp/WEB-INF/lib/bigdata-core-2.1.5-SNAPSHOT.jar!/com/bigdata/bop/joinGraph/fast/DefaultEvaluationPlan2$IJoinDimension.class, jar:file:///tmp/jetty-localhost-9999-blazegraph-service-0.3.1-SNAPSHOT.war-_bigdata-any-4225499852935337526.dir/webapp/WEB-INF/lib/bigdata-runtime-2.1.5-SNAPSHOT.jar!/com/bigdata/bop/joinGraph/fast/DefaultEvaluationPlan2$IJoinDimension.class

We need to figure out where these come from and fix them. We may also want to suppress them in the meantime.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Jetty produces about 7400 such messages for Blazegraph... And looks like the scan is happening before logging configuration is even loaded.

-Dorg.eclipse.jetty.annotations.AnnotationParser.LEVEL=OFF seems to suppress the messages, but it'd be nice to get rid of their source.

Change 498233 had a related patch set uploaded (by Smalyshev; owner: Smalyshev):
[wikidata/query/rdf@master] Prevent AnnotationParser logspam in tests

https://gerrit.wikimedia.org/r/498233

Change 498233 abandoned by DCausse:
[wikidata/query/rdf@master] Prevent AnnotationParser logspam in tests

Reason:
not working

https://gerrit.wikimedia.org/r/498233

This is only logspam on blazegraph startup, we'll not invest more time in fixing it.