LBNL-UCB-STI / beam

The Framework for Modeling Behavior, Energy, Autonomy, and Mobility in Transportation Systems
https://transportation.lbl.gov/beam
Other
143 stars 57 forks source link

Beam WARNs that can be avoided. #3864

Open dimaopen opened 3 months ago

dimaopen commented 3 months ago

Beam produces some non-relevant warning in the beamLog.out.

16:38:00.768 [main] WARN  beam.analysis.plots.GraphUtils - There is no color configured for [Average]
16:37:55.878 [main] WARN  b.s.m.InfluxDbSimulationMetricCollector - There are enabled metrics, but InfluxDB is unavailable at http://localhost:8086, database: 'beam'. Error: java.net.ConnectException: Failed to connect to localhost/127.0.0.1:8086

We probably need to disable metrics by default.

[0.000s][warning][gc] -Xloggc is deprecated. Will use -Xlog:gc:gc_04-25-2024_15-19-12.log instead.
[0.001s][warning][gc] -XX:+PrintGCDetails is deprecated. Will use -Xlog:gc* instead.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.esotericsoftware.kryo.util.UnsafeUtil (file:~/.gradle/caches/modules-2/files-2.1/com.esotericsoftware/kryo/4.0.2/e38ab79c96b0c8600c8ac38cc81dab935f0abac9/kryo-4.0.2.jar) to constructor java.nio.DirectByteBuffer(long,int,java.lang.Object)
WARNING: Please consider reporting this to the maintainers of com.esotericsoftware.kryo.util.UnsafeUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

These warnings are probably related to JVM update.

wrashid commented 2 weeks ago

don't start InfluxDb if no metric enabled

wrashid commented 2 weeks ago

GraphUtils => fix code or keep warning if we can set in config

wrashid commented 2 weeks ago

look into JVM warnings "deprecated"

dimaopen commented 1 week ago

Kryo issue described here https://github.com/EsotericSoftware/kryo/issues/924