jiazhai commented on issue #746: Issue-732 Update Dockerfile for 4.5.1 version
URL: https://github.com/apache/bookkeeper/pull/746#issuecomment-345576442
 
 
   Seems there was an issue: the default statsProviderClass is 
org.apache.bookkeeper.stats.prometheus.PrometheusMetricsProvider, but 
PrometheusMetricsProvider is not included in server-bin.tar.gz, so when bookie 
start it will report error like this -- 
   ```
   ERROR - [main:BookieServer@435] - Exception running bookie server : 
   org.apache.commons.configuration.ConfigurationException: 
org.apache.commons.configuration.ConfigurationException: 
java.lang.ClassNotFoundException: 
org.apache.bookkeeper.stats.PrometheusMetricsProvider
   ```
   have changed the stats to use NullStatsProvider in above commit.
   
   Now it passed the tests in my env.
   
   Since we have # 499 creating a -all package, we will use -all package for 
4.6.0 docker image.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to