Open plemanach opened 4 years ago
I worked around by removing lib/metrics-core-3.0.2.jar duplicate of metrics-core-3.2.2.jar.
metrics-core-3.0.2
is a transitive dependency from org.apache.tinkerpop:gremlin-server:3.4.6
. I didn't check if it can be upgraded in gremlin-server
. Most likely it could be upgraded without any problems and we the issue will be resolved by its own when upgrading to a newer tinkerpop version (with metrics-core update).
Here is a tinkerpop pom where the upgrade should happen: https://github.com/apache/tinkerpop/tree/3.4-dev
Failed on same issue with version 0.5.2 docker image
thanks to @plemanach
I was able to solve it by first
first install metrics-graphite and then delete it from lib
bin/gremlin-server.sh install com.codahale.metrics metrics-graphite 3.0.2
rm -f /opt/janusgraph/lib/metrics-core-3.0.2.jar
Please post all questions and issues on janusgraph-users before opening a GitHub issue. Your questions will reach a wider audience there, and if we confirm that there is a bug, then you can open a new issue.
Please include configurations and logs if available.
For confirmed bugs, please report:
Setup reporting graphite metrics.enabled = true metrics.graphite.hostname=graphite.rdxnidemo-infra.svc.cluster.local metrics.graphite.interval=60000
Stack Trace (if you have one)