[
https://issues.apache.org/jira/browse/ZOOKEEPER-4671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zili Chen resolved ZOOKEEPER-4671.
----------------------------------
Resolution: Fixed
master via e50a0bbae1bc0b812ac2656f5ba3f9eab7c3d62e
> Java classpath should contain libs about metrics providers
> ----------------------------------------------------------
>
> Key: ZOOKEEPER-4671
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4671
> Project: ZooKeeper
> Issue Type: Bug
> Reporter: Guoxiong Li
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> When developing zookeeper, we often start or debug it by using the current
> source code instead of the built package. So it is good to add the classes
> about metrics providers to the classpath to avoid ClassNotFound exception.
> This ClassNotFound exception happens when we use the config
> {{metricsProvider.className=org.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvider}}
> to start zookeeper.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)