You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/05/25 05:17:31 UTC

[GitHub] [pulsar] wolfstudy opened a new issue #7029: By default, presto SQL does not start the prometheus service

wolfstudy opened a new issue #7029:
URL: https://github.com/apache/pulsar/issues/7029


   **Describe the bug**
   
   When starting `sql-worker` and using telnet to check the service, the following problems were found:
   
   ```bash
   telnet localhost:9092
   ```
   
   Output:
   
   ```
   Trying 127.0.0.1...
   telnet: connect to address 127.0.0.1: Connection refused
   Trying ::1...
   telnet: connect to address ::1: Connection refused
   telnet: Unable to connect to remote host
   ```
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. conf prometheus server on `conf/presto/catlog/pulsar.properties`:
   
   ```
   pulsar.stats-provider=org.apache.bookkeeper.stats.prometheus.PrometheusMetricsProvider
   pulsar.stats-provider-configs={"httpServerEnabled":"false", "prometheusStatsHttpPort":"9092", "prometheusStatsHttpEnable":"true"}
   ```
   
   2. ./bin/pulsar standalone
   3. ./bin/pulsar sql-worker run
   4. telnet localhost:9092
   
   **Expected behavior**
   
   Users can correctly access port 9092.
   
   **Additional context**
   
   But when we use the built-in connectors to write data to presto, we can access port 9092 normally.
   
   
   Start the built-in connector DataGeneratorSource and ingest some mock data.
   
   ```
   ./bin/pulsar-admin sources create --name generator --destinationTopicName generator_test --source-type data-generator
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] wolfstudy closed issue #7029: By default, presto SQL does not start the prometheus service

Posted by GitBox <gi...@apache.org>.
wolfstudy closed issue #7029:
URL: https://github.com/apache/pulsar/issues/7029


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org