Alluxio / alluxio

Alluxio, data orchestration for analytics and machine learning in the cloud
https://www.alluxio.io
Apache License 2.0
6.74k stars 2.92k forks source link

Collector already registered that provides name: jmx_exporter_build_info #18547

Open ziyangRen opened 3 months ago

ziyangRen commented 3 months ago

Alluxio Version: Alluxio 2.9.3

Describe the bug 我在启动时添加了javaagent,导致了报错无法启动Alluxio,我的alluxio-env.sh配置文件见下: image 我得到了如下的报错: image

jasondrogba commented 3 months ago

https://github.com/prometheus/jmx_exporter/issues/290

You got your invocation wrong, that only happens if you load the javaagent twice into the same JVM.

did you also set ALLUXIO_MASTER_JAVA_OPTS, you can refer to ALLUXIO_JAVA_OPTS

Java VM options for the Alluxio master, worker, and shell commands. By default, ALLUXIO_JAVAOPTS is prepended to other ALLUXIO*_JAVA_OPTS environment variables, such as ALLUXIO_MASTER_JAVA_OPTS and ALLUXIO_USER_JAVA_OPTS.